Python Module logging Operations: Difference between revisions
Jump to navigation
Jump to search
m (Ovidiu moved page Python Logging Operations to Python Module logging Operations without leaving a redirect) |
|||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[ | * [[Python_Module_logging#Overview|The logging module]] | ||
=Overview= | =Overview= | ||
=Configure Logging Level Externally= | =Configure Logging Level Externally= |
Revision as of 20:46, 9 January 2023
Internal
Overview
Configure Logging Level Externally
Python does not seem to have an interpreter command line option to use to set the logging level.
Make this part of your application. Parse -v|--verbose, -d|--debug, etc on command line and then set logging.basicConfig(level=parsed_ogging_level)
in main()
.