Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How to pick an appender selectively in Log::Log4perl

by Arunbear (Prior)
on Feb 11, 2016 at 17:12 UTC ( [id://1154993]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %loggerConfig = (
      "log4perl.category.default_logger" => "INFO, Stdout, SYSLOG, Logfile
    +",
      "log4perl.category.file.only"      => "INFO, Logfile",
    );
    
  2. or download this
    my $log = Log::Log4perl->get_logger("file.only");
    $log->info('whatever');
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1154993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found