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.layout.ConversionPattern=%.1p %d{HH:mm}
%M{2}(%L) %m%n
But when I run my program with redirection, say
myprog.pl .... >screen.log
the logging output still is displayed on the console, and screen.log
ends up with length zero.
This is on Windows 2000 using ActiveState Perl.
Ronald
--
Ronald Fischer <[email protected]>
+ If a packet hits a pocket on a socket on a port,
+ and the bus is interrupted and the interrupt's not caught,
+ then the socket packet pocket has an error to report.
+ (cited after Peter van der Linden)
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
log4perl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/log4perl-devel