Forum: Ruby on Rails Jruby / Rails / Logging

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.
AD (Guest)
on 2009-03-10 04:31
(Received via mailing list)

 I am noticing an odd issue where after a while there are no more logs
in the localhost-YYYY-MM-DD.log file in Tomcat when running
Jruby/Rails under Tomcat 5.  The logs seem to show up fine in the
beginning but then after a while only errors show up and no info/debug

 Has anyone else seen this issue and have a resolution?  It makes it
very difficult to try and debug.

Karol B. (Guest)
on 2011-04-09 20:55
I dare to respond to this one despite the fact that the post is pretty

I think I had the very same issue with "disappearing" logs with JRuby on
Rails and I couldn't find nothing except this (unanswered) post.

Here's an answer that will hopefully help someone struggling this :

Rails.logger is not working correctly (it's level might unpredictably
change from time to time) in a threadsafe! environment, read more here :
This topic is locked and can not be replied to.