tighten up logging

This commit is contained in:
Pim van Pelt
2025-06-24 07:51:37 +02:00
parent 3401c96112
commit 8ed14834f5
4 changed files with 13 additions and 9 deletions

View File

@@ -184,7 +184,7 @@ func (m *InterfaceMIB) UpdateStats(interfaceStats *api.InterfaceStats) {
}
if m.ifXTableSession != nil {
m.ifXTableSession.Handler = m.handler
logger.Printf("Updated session handlers with new IF-MIB data")
logger.Printf("Updated session handlers with new IF-MIB data for %d interfaces", len(m.stats))
}
logger.Debugf("IF-MIB now contains %d interfaces", len(m.stats))