setting log file to just "syslog" (instead of "syslog:") uses the default facility
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Nov 2005 17:11:26 +0000 (17:11 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 30 Nov 2005 17:11:26 +0000 (17:11 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2132 dcc99617-32d9-48b4-a31d-7c20da2025e4

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