2010-05-25 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Set a default verbosity level for logger(). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c37737cf96
commit
844c00a896
|
@ -1,3 +1,7 @@
|
|||
2010-05-25 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Tools.pm: Set a default verbosity level for logger().
|
||||
|
||||
2010-05-25 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/DB.pm: Added get_agent_module_id to @EXPORT.
|
||||
|
|
|
@ -255,7 +255,8 @@ sub md5check {
|
|||
##########################################################################
|
||||
sub logger ($$;$) {
|
||||
my ($pa_config, $message, $level) = @_;
|
||||
|
||||
|
||||
$level = 1 unless defined ($level);
|
||||
return if ($level > $pa_config->{'verbosity'});
|
||||
|
||||
my $file = $pa_config->{'logfile'};
|
||||
|
|
Loading…
Reference in New Issue