Skip to content

logging Module Demo #11

@nickdibari

Description

@nickdibari

logging provides a utility library for write statements to a log file during various points of program execution. This is critical for programs that are meant to run autonomously, like web servers, as it is one of the few ways you can trace the path of a program's execution. Logging can also be used for debugging and diagnosing problems by providing a playbook of what happened and noting when exceptions were raised.

Suggest demo show various levels of logging, from info to exception. Can also include different logging handler use, for example one logger to capture debug in a hidden file while one logger writes to a special file.

Python Docs: https://docs.python.org/2/library/logging.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions