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:
ramonn 2010-05-25 13:58:38 +00:00
parent c37737cf96
commit 844c00a896
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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'};