-
Notifications
You must be signed in to change notification settings - Fork 157
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
Disable logging #203
Comments
yes, try to find more details here PS: Rack::Timeout::Logger.disable |
Mhh, this works only conditionally. I can disable logging and assign my own logger. But what does not work is to assign my logger and change the logging level. Rack::Timeout::Logger.level = Logger::DEBUG
Rack::Timeout::Logger.logger = $Logger still logs with level Info. |
try to filter by |
I was looking for a way to make the logger only log when there was an exceptional case. I added:
in an initializer. Testing locally, this seems to cause only error-level (or higher) log messages to be printed. @marek22k maybe you should flip the statements you listed, since the first one changes the log level of the |
Hello,
is it possible to disable logging? I always get the following messages in the log:
The text was updated successfully, but these errors were encountered: