New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logging configuration #3651
Comments
I don't know of any better way to do this. Expert opinions and cleaner options very welcome. |
@mperham Is this still the correct way to set Sidekiq logging level in 2022? Or is it using Rails logging level now? |
Yes. Sidekiq.logger is the only supported API. Don’t use Sidekiq::Logging in your code. |
@netwire88 I wanted to use a single environment variable to control both
|
In our sidekiq server logs (sidekiq.log), i was finding that it's filling up with rails logging information. Setting
failed to stop the flow of debug level rails logging into the sidekiq.log.
this worked better. does this look right? it seems odd to have to set both Rails.logger and ActiveRecord::Base.logger to the Sidekiq logger, but this is the only way i've found to have 1 server side logging setting to control the flow of logging.
The text was updated successfully, but these errors were encountered: