From: erickson Date: Wed, 30 Nov 2005 17:11:26 +0000 (+0000) Subject: setting log file to just "syslog" (instead of "syslog:") uses the default facility X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=30d2e3896ec69667051e571cf9ee2ad64433bf19;p=opensrf%2Fbjwebb.git setting log file to just "syslog" (instead of "syslog:") uses the default facility git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@587 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/perlmods/OpenSRF/Utils/Logger.pm b/src/perlmods/OpenSRF/Utils/Logger.pm index d8944ff..bef1f02 100644 --- a/src/perlmods/OpenSRF/Utils/Logger.pm +++ b/src/perlmods/OpenSRF/Utils/Logger.pm @@ -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://;