From: miker Date: Thu, 1 Dec 2005 23:09:57 +0000 (+0000) Subject: give reasonably unique default for service name X-Git-Tag: osrf_rel_2_0_1~1277 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=924ec4a6cb0542e17ffe4b45afe035687e2f95fb;p=OpenSRF.git give reasonably unique default for service name git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@596 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/perlmods/OpenSRF/Utils/Logger.pm b/src/perlmods/OpenSRF/Utils/Logger.pm index 607b65d..b4fe88d 100644 --- a/src/perlmods/OpenSRF/Utils/Logger.pm +++ b/src/perlmods/OpenSRF/Utils/Logger.pm @@ -33,7 +33,7 @@ my $logfile; # log file my $facility; # syslog facility my $actfac; # activity log syslog facility my $actfile; # activity log file -my $service = "osrf"; # default service name +my $service = $0; # default service name my $syslog_enabled = 0; # is syslog enabled? my $act_syslog_enabled = 0; # is syslog enabled? my $logfile_enabled = 1; # are we logging to a file?