Forum: JRuby Rack logging, log level changes over time

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Fc19147e89d6521f92ef9e2c1c4dac24?d=identicon&s=25 Matthew Kanwisher (Guest)
on 2009-05-29 17:56
(Received via mailing list)
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
config settings?

Jruby 1.2
Rack 0.9.3
Tomcat 5.5 (Coolstack)
Solaris 10
Rails 2.2.2 (Threadsafe mode)

526d60de6472502bb570a9df2842b33b?d=identicon&s=25 Nick Sieger (Guest)
on 2009-05-30 06:05
(Received via mailing list)
On Fri, May 29, 2009 at 10:53 AM, Matthew Kanwisher <>
> Solaris 10
> Rails 2.2.2 (Threadsafe mode)

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 topic is locked and can not be replied to.