rails_semantic_logger icon indicating copy to clipboard operation
rails_semantic_logger copied to clipboard

Not showing any logs in console

Open andresespinosapc opened this issue 2 years ago • 3 comments

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.

andresespinosapc avatar Jun 22 '22 19:06 andresespinosapc

https://logger.rocketjob.io/forking.html

n-rodriguez avatar Jul 12 '22 01:07 n-rodriguez

https://logger.rocketjob.io/forking.html

My app uses puma so adding SemanticLogger.reopen in config/puma.rb worked for me! Thanks @n-rodriguez

jeehwancho avatar Oct 10 '22 14:10 jeehwancho

Although I updated my puma.rb file I still don't see any of my logs. How does one go about debugging this?

iamtekeste avatar Oct 10 '22 20:10 iamtekeste

By console, do you mean stdout, or inside a rails console?

reidmorrison avatar Nov 06 '22 20:11 reidmorrison

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

annaswims avatar Nov 23 '22 20:11 annaswims

Thank you for the notes, also updated the documentation.

reidmorrison avatar Mar 26 '23 22:03 reidmorrison