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
On Mon, 5 Oct 2009, Ronald Fischer wrote:
> I have defined a screen appender like this:
> log4perl.appender.Screen=Log::Log4perl::Appender::Screen
> log4perl.appender.Screen.layout=Log::Log4perl::Layout::PatternLayout
> log4perl.appender.Screen.layout.ConversionPattern=%.1p %d{HH:mm
According to the docs:
"Log::Log4perl::Appender::Screen - Log to STDOUT/STDERR"
I have defined a screen appender like this:
log4perl.appender.Screen=Log::Log4perl::Appender::Screen
log4perl.appender.Screen.layout=Log::Log4perl::Layout::PatternLayout
log4perl.appender.Screen.l
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