Alter log level in Production?

More things I’ve tried:

  • I’ve checked production.log and the info logs I want are there!
  • I’ve looked at the output of Logster.config on rails console and it’s not obviously useful.
  • ditto /vendor/bundle/ruby/3.2.0/gems/logster-2.19.1/lib/logster/configuration.rb

So I’m still at a loss why the info level logs are not showing in /logs

Clearly something is filtering out the info level logs between production.log and Logster.

https://github.com/search?q=repo%3Adiscourse%2Fdiscourse%20Logger%3A%3AWARN&type=code

2 Likes