summaryrefslogtreecommitdiff
path: root/examples/v3arch/manager
diff options
context:
space:
mode:
authorelie <elie>2007-02-14 10:34:12 +0000
committerelie <elie>2007-02-14 10:34:12 +0000
commit30aed817ca601567fc223f5a98ee19fa11cf1c5b (patch)
tree865b6ee3e8e0661fa8e860547b0a7fe4c717f1b8 /examples/v3arch/manager
parent7d38f29677ee06db2454e3bf4d76e0e7e885f8e8 (diff)
downloadpysnmp-30aed817ca601567fc223f5a98ee19fa11cf1c5b.tar.gz
optionally enable stdout debugging
Diffstat (limited to 'examples/v3arch/manager')
-rw-r--r--examples/v3arch/manager/ntfrcv.py4
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