Skip to content

A little example to play with Python logging configuration

Notifications You must be signed in to change notification settings

betsybookwyrm/loggingtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logging configuration example

Every time I need to do logging configuration that's more complex than logging.basicConfig, I spend ages looking up documentation and examples. So here's a reference example!

See loggingtest/__init__.py

Tested on Python 3.6

Only requirement is pyyaml, you can remove all references to it if you don't want to use the yaml file method.

About

A little example to play with Python logging configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages