setting log file to just "syslog" (instead of "syslog:") uses the default facility
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Nov 2005 17:11:26 +0000 (17:11 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 30 Nov 2005 17:11:26 +0000 (17:11 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@587 9efc2488-bf62-4759-914b-345cdb29e865

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://;