nntplib.NNTP.set_debuglevel

NNTP.set_debuglevel(level)[source]

Set the debugging level. Argument ‘level’ means: 0: no debugging output (default) 1: print commands and responses but not body text etc. 2: also print raw lines read and sent before stripping CR/LF