diff options
author | elie <elie> | 2007-02-15 07:49:18 +0000 |
---|---|---|
committer | elie <elie> | 2007-02-15 07:49:18 +0000 |
commit | 8b08a1ac569b4800a80fe02fa251ff187e3ba515 (patch) | |
tree | e6dc6c1b42433ef977709817054c17c0a507b113 | |
parent | 30aed817ca601567fc223f5a98ee19fa11cf1c5b (diff) | |
download | pysnmp-8b08a1ac569b4800a80fe02fa251ff187e3ba515.tar.gz |
little debug messaging clarification
-rw-r--r-- | pysnmp/proto/secmod/rfc3414/service.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pysnmp/proto/secmod/rfc3414/service.py b/pysnmp/proto/secmod/rfc3414/service.py index 99eb23d..4ab53b3 100644 --- a/pysnmp/proto/secmod/rfc3414/service.py +++ b/pysnmp/proto/secmod/rfc3414/service.py @@ -484,7 +484,7 @@ class SnmpUSMSecurityModel(AbstractSecurityModel): # 3.2.3 if not self.__timeline.has_key(securityEngineID): - debug.logger & debug.flagSM and debug.logger('processIncomingMsg: known securityEngineID %s' % securityEngineID) + debug.logger & debug.flagSM and debug.logger('processIncomingMsg: unknown securityEngineID %s' % securityEngineID) if securityEngineID: # 3.2.3a XXX any other way to get auth engine in cache? self.__timeline[securityEngineID] = ( @@ -499,12 +499,12 @@ class SnmpUSMSecurityModel(AbstractSecurityModel): self.__timelineExpQueue[expireAt] = [] self.__timelineExpQueue[expireAt].append(securityEngineID) - debug.logger & debug.flagSM and debug.logger('processIncomingMsg: store timeline') + debug.logger & debug.flagSM and debug.logger('processIncomingMsg: store timeline for securityEngineID %s' % (securityEngineID,)) else: # 3.2.3b usmStatsUnknownEngineIDs, = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('__SNMP-USER-BASED-SM-MIB', 'usmStatsUnknownEngineIDs') usmStatsUnknownEngineIDs.syntax = usmStatsUnknownEngineIDs.syntax+1 - debug.logger & debug.flagSM and debug.logger('processIncomingMsg: unknown securityEngineID %s' % securityEngineID) + debug.logger & debug.flagSM and debug.logger('processIncomingMsg: null securityEngineID') pysnmpUsmDiscoverable, = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('__PYSNMP-USM-MIB', 'pysnmpUsmDiscoverable') if pysnmpUsmDiscoverable.syntax: debug.logger & debug.flagSM and debug.logger('processIncomingMsg: request EngineID discovery') |