diff options
author | elie <elie> | 2007-02-14 09:58:24 +0000 |
---|---|---|
committer | elie <elie> | 2007-02-14 09:58:24 +0000 |
commit | e075a86afc53efd34aedbc2d125a0938954f0993 (patch) | |
tree | b34a37a0947ff058ca0e0c12e4d13823a04609fb /examples | |
parent | a04abaaa913460e1dfda5eab0e9313efdcea994b (diff) | |
download | pysnmp-e075a86afc53efd34aedbc2d125a0938954f0993.tar.gz |
optionally enable stdout debugging
Diffstat (limited to 'examples')
-rw-r--r-- | examples/v3arch/agent/cmdrsp.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/v3arch/agent/cmdrsp.py b/examples/v3arch/agent/cmdrsp.py index ca46374..afdf1ba 100644 --- a/examples/v3arch/agent/cmdrsp.py +++ b/examples/v3arch/agent/cmdrsp.py @@ -2,6 +2,10 @@ from pysnmp.entity import engine, config from pysnmp.carrier.asynsock.dgram import udp from pysnmp.entity.rfc3413 import cmdrsp, context +from pysnmp import debug + +# Optionally enable stdout debugging +#debug.setLogger(debug.Debug('all')) # Create SNMP engine with autogenernated engineID and pre-bound # to socket transport dispatcher |