Skip to content

Logging in Python

The stdlib logging module in Python is pretty swell, allowing for severities and output to different channels (logfile, rotating log file, stdout/err etc.)

People should probably learn to use it, for the greater good.

Bonus points: Tie it into argparse and change the debug level via "-d|--debug"