The rails log levels don’t match up with tomcat’s (I’m using
trinidad), and tomcat has more levels then rails does. Rails won’t
let you set anything other then what it knows without complaining.
The only thing I’ve gotten to work is just leave it at the default
which for both rails and tomcat is INFO.
For example, I want the log level to be warn. In tomcat It’s WARNING
and it’s a different number. So in rails config.log_evel = :warn
doesn’t work, and nothing gets logged. Trying to set config.log_level
to a number that’s not defined as a constant log level results in
rails complaining about not being able to write to the logfile.
What am I missing?
Chris