elastic / logstash

Logstash - transport and process your logs, events, or other data
https://www.elastic.co/products/logstash
Other
14.19k stars 3.5k forks source link

unconditional @logger.info and .debug #2567

Open ph opened 9 years ago

ph commented 9 years ago

Use rubocop to catch unconditional @logger.info? and .debug?

https://github.com/elasticsearch/logstash/blob/master/lib/logstash/runner.rb#L13-L46

jordansissel commented 9 years ago

Noting: Doing this will require writing a custom cop for rubocop.

wiibaa commented 9 years ago

originates from https://logstash.jira.com/browse/LOGSTASH-788

talevy commented 8 years ago

do we still expect to use this?