hellosarathy has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I have a Log::Log4perl logger configured which writes to STDOUT, SYSLOG and Logfile, like:
which writes to STDOUT, SYSLOG and Logfile. Few messages I need to write ONLY to the log file and NOT to syslog and STDOUT. How can this be done?my %loggerConfig = ( "log4perl.category.default_logger" => "INFO, Stdout, SYSLOG, Logfile",
Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to pick an appender selectively in Log::Log4perl
by Arunbear (Prior) on Feb 11, 2016 at 17:12 UTC | |
by hellosarathy (Novice) on Feb 11, 2016 at 17:43 UTC | |
Re: How to pick an appender selectively in Log::Log4perl
by crusty_collins (Friar) on Feb 11, 2016 at 16:59 UTC |
Back to
Seekers of Perl Wisdom