ruby - logstash-logger and filtering events -
i'm using logstash-logger in ruby app. it's great. however, seem have problem debug messages being forwarded, , no setting seems turn off. it's increasing logging requirements 3 5 fold, both increasing costs , slowing down app.
is there way filter log messages eliminate noise?
i have set in config.logger_level :info, debug messages still being forwarded.
any suggestions?
p.s. config below, still sending debug messages , info messages.
@logstash_logger = ::logstashlogger.new( type: :multi_delegator, outputs: [ { type: :stdout }, { type: :udp, host: logging_host, port: logging_port } ]) @logstash_logger.level = ::logger::warn
Comments
Post a Comment