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