Subject: | warp_message is not called for logdie |
I have next config:
log4perl.rootLogger = ALL, LF_Psgi
# Application log messages
log4perl.appender.LF_Psgi = Log::Log4perl::Appender::File
log4perl.appender.LF_Psgi.warp_message = Log::Utils::dump_refs
log4perl.appender.LF_Psgi.mode = write
log4perl.appender.LF_Psgi.filename = /home/user/public_html/logs/psgi.log
log4perl.appender.LF_Psgi.recreate = 1
log4perl.appender.LF_Psgi.recreate_check_signal = USR1
log4perl.appender.LF_Psgi.umask = 0000
log4perl.appender.LF_Psgi.utf8 = 1
log4perl.appender.LF_Psgi.recreate = 1
log4perl.appender.LF_Psgi.layout = FallbackLayout
log4perl.appender.LF_Psgi.layout.chain = PatternLayout
log4perl.appender.LF_Psgi.layout.chain.ConversionPattern = %d %P %p> %F{2}:%L %c%n %F <-- %M%n%n %m{indent=2}%n%n
When in my programm I run $logger->logdie the sub noted at log4perl.appender.LF_Psgi.warp_message is not called.
It seems the code at Log::Log4perl::Logger:900
my @chomped = @_;
chomp($chomped[-1]);
is not in place.