rails_semantic_logger
rails_semantic_logger copied to clipboard
Not showing any logs in console
Environment
Provide at least:
- Ruby Version 2.7.5
- Rails Version 6.0
- Semantic Logger Version 4.11.0
- Rails Semantic Logger Version 4.10.0
Expected Behavior
Logs are shown in the console in development.
Actual Behavior
It doesn't show any logs, and don't know how to debug it.
https://logger.rocketjob.io/forking.html
https://logger.rocketjob.io/forking.html
My app uses puma
so adding SemanticLogger.reopen
in config/puma.rb
worked for me!
Thanks @n-rodriguez
Although I updated my puma.rb file I still don't see any of my logs. How does one go about debugging this?
By console
, do you mean stdout, or inside a rails console?
On https://logger.rocketjob.io/forking.html the documentation that says If running Puma 2
should really say If running Puma
. They're talking about any version >=2
Thank you for the notes, also updated the documentation.