[Bps-public-commit] r16898 - in Pushmi/trunk: lib/Pushmi
alexmv at bestpractical.com
alexmv at bestpractical.com
Tue Nov 18 15:45:07 EST 2008
Author: alexmv
Date: Tue Nov 18 15:45:05 2008
New Revision: 16898
Modified:
Pushmi/trunk/ (props changed)
Pushmi/trunk/lib/Pushmi/Config.pm
Log:
r39269 at kohr-ah: chmrr | 2008-11-18 15:44:57 -0500
* Be more careful, in case "pushmi" shows up earlier in the path than the end
Modified: Pushmi/trunk/lib/Pushmi/Config.pm
==============================================================================
--- Pushmi/trunk/lib/Pushmi/Config.pm (original)
+++ Pushmi/trunk/lib/Pushmi/Config.pm Tue Nov 18 15:45:05 2008
@@ -23,7 +23,7 @@
shift;
unless (Log::Log4perl->initialized) {
my $file = $ENV{PUSHMI_CONFIG} || '/etc/pushmi.conf';
- $file =~ s/pushmi/pushmi-log/;
+ $file =~ s/pushmi\.conf$/pushmi-log.conf/;
Log::Log4perl::init($file) if -e $file;
Log::Log4perl::init('/etc/pushmi-log.conf') if -e '/etc/pushmi-log.conf';
}
More information about the Bps-public-commit
mailing list