From: Guillaume Guillaume Date: 2009-12-26T23:51:23+09:00 Subject: Re: logging, rolling file, permission denied Aldric Giacomoni wrote: > Guillaume Guillaume wrote: >> >> I am trying to replace Rails logger with the one from logging gem. There >> are no attempts to log concurrently as far as I'm aware. However my >> debugging session hints at 2 competing processes trying to log to the >> same rolling file. If I use the regular file appender I don't have that >> exception. Only the rolling file setup throws the exception. It's not a >> problem with flushing, the exception thrown causes the rolling file >> appender to get turned off with appender.level = :off. > > Did you write rolling_file.rb ? If not, which part of YOUR code is > calling the code that generates the error? rolling_file.rb is part of logging gem, therefore I did not write it. It is actually rails code that is calling the logger. The problem happens whenever I start a mongrel instance with my rails 2.3.5 app. The container is not a factor, the error also happens with webrick. -- Posted via http://www.ruby-forum.com/.