Mergifyio / daiquiri

Python library to easily setup basic logging functionality
Apache License 2.0
333 stars 25 forks source link

Examples don't work with logger.info #10

Closed davebrochu closed 7 years ago

davebrochu commented 7 years ago

Issue found and reported here: https://www.reddit.com/r/Python/comments/6lei80/easy_python_logging_with_daiquiri/

Due to default value of setup method for logging (level=logging.WARNING), all examples in the examples directory do not actually print out log statements when run. To address fix, either examples need to include setting daiquiri.setup(level=logging.INFO), or log.info statements should be changed to log.warning.