setting log file to just "syslog" (instead of "syslog:") uses the default facility
[Evergreen.git] / OpenSRF / src / perlmods / OpenSRF / Utils / Logger.pm
index d8944ff..bef1f02 100644 (file)
@@ -68,7 +68,7 @@ sub set_config {
 
        $logfile = $config->bootstrap->logfile;
        
-       if($logfile =~ /^syslog:/) {
+       if($logfile =~ /^syslog/) {
                $syslog_enabled = 1;
                $logfile_enabled = 0;
                $logfile =~ s/^syslog://;