Closed jakeonfire closed 3 months ago
adding
Console.logger.level = Console::Logger::LEVELS[:warn]
to falcon.rb
works for now. i still don't think it should default to debug
, however.
Yeah, that's a fair point, not sure what I was thinking at the time - I'll reconsider it.
even changing that line to ENV['CONSOLE_LEVEL'] ||= 'debug'
would make it easier to override imo if you have a reason for a default.
This is fixed and will be released in the next version bump.
https://github.com/socketry/falcon/blob/4002aea74988a9b6f5560363eb7738084308152d/lib/falcon/command/virtual.rb#L63
debug
is way too noisy in production. (is there a good way to override the Console.logger log level in a rails app?)