Re: [log4perl-devel] Appender::File : File handle gets undef

2009-10-05 Thread Mike Schilli
On Mon, 5 Oct 2009, Ronald Fischer wrote: > The "file switching" is done using the following code: > > Log::Log4perl->appender_by_name($requestlogger_appender_name)- > >file_switch($relpathname); You might be running out of file handles due to a bug fixed in release 1.25. Please make sure you run

[log4perl-devel] Appender::File : File handle gets undef

2009-10-05 Thread Ronald Fischer
We recently found that once in a while (every couple of hours), File.pm crashes on a write operation. By inserting a suitable check, we found that the file handle happens to be undef in File::Appender::log(). The logger in question is a bit unusual in that it undergoes frequent file switches - fr