Linux Today: Linux News On Internet Time.

More on LinuxToday

How to enable and use logging module in Python

Jun 06, 2016, 06:00 (0 Talkback[s])
(Other stories by Xmodulo)

Logging is an essential debugging feature for any programming and scripting language, which goes beyond simple print statements. For example, logging allows you to track in which module/function/linenumber logging messages are generated. You can also differentiate logging based on severity, and can direct logging messages to stdout/stderr, a file, a network socket, etc.

Complete Story