I’m using Jruby Rack + Tomcat and Rails 2.2.2 in threadsafe mode. I’m
an issue where when the server starts up Rails is logging in debug but
within the first minute or two of running rails switches to error level
logging only. Looking at the Rack source code I noticed it overrides the
default ruby logging, is there any chance it doesn’t have the original
It’s certainly possible, but I haven’t noticed this behavior before.
The code that overrides the Rails logger is here:
Seems like that shouldn’t affect the logging level, but maybe you
could do a little more sleuthing to see what happens? If necessary,
you could monkey-patch the
JRuby::Rack::RailsServletHelper#setup_logger to be a no-op early in
your boot.rb or environment.rb and see if that changes the behavior.
To unsubscribe from this list, please visit:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.