http://www.perlmonks.org?node_id=1154953

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:

my %loggerConfig = ( "log4perl.category.default_logger" => "INFO, Stdout, SYSLOG, Logfile",
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?

Thanks.