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');