At 05:44 PM 10/30/2006, Todd Chapman wrote:
>My problem is that I configured Log::Log4perl::Appender::File
>to recreate my log file when it recieves a USR1 signal, but it
>is killing my program instead.
>[...]
>log4perl.appender.File.recreate_signal = USR1
If you want it to WORK, use "recreate_check_signal", NOT "recreate_signal".
Unfortunately, it looks like there is a disagreement between the code
and documentation in Appender::File and the FAQ page. File.pm says
"recreate_signal" in the POD and in new(), but the CODE uses
"recreate_check_signal".
HTH,
Rob
|