diff options
author | elie <elie> | 2007-02-14 10:34:12 +0000 |
---|---|---|
committer | elie <elie> | 2007-02-14 10:34:12 +0000 |
commit | 30aed817ca601567fc223f5a98ee19fa11cf1c5b (patch) | |
tree | 865b6ee3e8e0661fa8e860547b0a7fe4c717f1b8 /examples | |
parent | 7d38f29677ee06db2454e3bf4d76e0e7e885f8e8 (diff) | |
download | pysnmp-30aed817ca601567fc223f5a98ee19fa11cf1c5b.tar.gz |
optionally enable stdout debugging
Diffstat (limited to 'examples')
-rw-r--r-- | examples/v3arch/manager/ntfrcv.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/v3arch/manager/ntfrcv.py b/examples/v3arch/manager/ntfrcv.py index 2a034ae..81bf25a 100644 --- a/examples/v3arch/manager/ntfrcv.py +++ b/examples/v3arch/manager/ntfrcv.py @@ -2,6 +2,10 @@ from pysnmp.entity import engine, config from pysnmp.carrier.asynsock.dgram import udp from pysnmp.entity.rfc3413 import ntfrcv +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 |