Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging Module Demo #11

Open
nickdibari opened this issue Jan 18, 2018 · 0 comments
Open

logging Module Demo #11

nickdibari opened this issue Jan 18, 2018 · 0 comments

Comments

@nickdibari
Copy link
Contributor

nickdibari commented Jan 18, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant