mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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:
parent
513d593ea4
commit
36114f96ac
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user