Closed migu0 closed 9 years ago
Care to provide some context on how you're initializing the closeio client?
Since closeio tries to assign a logger by looking up logger
@see closeio/client.rb#L71 you could have it assign Logger.new(File::NULL)
as the logger.
I think this issue can be closed, as it's more specific to your application code than the gem itself.
Thanks so much for your help, you solved a big problem for us. I wasn't aware of that option in the closeio client and changed it to disable the logger like so:
Closeio::Client.new(ENV['CLOSEIO_API_KEY'], false)
# removed code: Closeio::Client.new(ENV['CLOSEIO_API_KEY'])
I'm using a gem closeio, which loads another gem faraday as a dependency. For each request I make through the closeio gem, Faraday produces lots of logs that I would like to suppress.
I have tried the following in config/initializers/sidekiq.rb without success:
How can I suppress these logs?