Only log adding mibdirs at debug level 2

This commit is contained in:
Oliver Gorwits
2015-05-05 20:24:44 +01:00
parent d5bf08329e
commit 86856b6d54
2 changed files with 3 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ version 3.27 ()
[ENHANCEMENTS] [ENHANCEMENTS]
* Cisco Aironet PSU information * Cisco Aironet PSU information
* Only log adding mibdirs at debug level 2
[BUG FIXES] [BUG FIXES]

View File

@@ -3622,7 +3622,8 @@ sub init {
foreach my $d (@$mibdirs) { foreach my $d (@$mibdirs) {
next unless -d $d; next unless -d $d;
print "SNMP::Info::init() - Adding new mibdir:$d\n" if $self->debug(); print "SNMP::Info::init() - Adding new mibdir:$d\n"
if $self->debug() > 1;
SNMP::addMibDirs($d); SNMP::addMibDirs($d);
} }