-
-
Notifications
You must be signed in to change notification settings - Fork 542
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
How can we customize logging in hanami 2? #1283
Comments
Refs #1294 |
@solnic Thank you for your reply! We don't want to change hanami logger format(ex. Hanami.logger.info), but change rack logging. hanami/lib/hanami/web/rack_logger.rb Line 98 in 931ae82
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We want add user_id to the following default logging.(For example, if env['user_id'] exists.)
hanami/lib/hanami/web/rack_logger.rb
Line 98 in 931ae82
Is there any other way that we can do so except for by overriding the code above?
The text was updated successfully, but these errors were encountered: