Skip to content

Commit

Permalink
Removed deprecated calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm authored Oct 28, 2024
1 parent d15f433 commit d6b9e91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ following snippet of code at the beginning of your application:
from pysnmp import debug
# use specific flags for debugging
debug.setLogger(debug.Debug('dsp', 'msgproc', 'secmod'))
debug.set_logger(debug.Debug('dsp', 'msgproc', 'secmod'))
# use 'all' for full debugging
debug.setLogger(debug.Debug('all'))
debug.set_logger(debug.Debug('all'))
Then run your app and watch stderr. The Debug initializer enables debugging
for a particular PySNMP subsystem, 'all' enables full debugging. More
Expand Down

0 comments on commit d6b9e91

Please sign in to comment.