2010-05-10 Sergio Martin <sergio.martin@artica.es>

* lib/PandoraFMS/Tools.pm: Typo fix in error message



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2010-05-10 12:22:17 +00:00
parent 513d593ea4
commit 36114f96ac
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-05-10 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Typo fix in error message
2010-05-07 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed call to undefined variable

View File

@ -264,8 +264,8 @@ sub logger ($$;$) {
if (-e $file && (stat($file))[7] > $pa_config->{'max_log_size'}) {
rename ($file, $file.'.old');
}
open (FILE, ">> $file") or die "[FATAL] Could not open logfile '$fichero'";
open (FILE, ">> $file") or die "[FATAL] Could not open logfile '$file'";
print FILE strftime ("%Y-%m-%d %H:%M:%S", localtime()) . " " . $pa_config->{'servername'} . $pa_config->{'servermode'} . " [V". $level ."] " . $message . "\n";
close (FILE);
}