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

Already on GitHub? Sign in to your account

Module Level Logging #49

wants to merge 2 commits into


None yet
1 participant

jbuckner commented Nov 7, 2012

All of the logging was using logging.warn(), calling the logging library directly. This caused the logs to be logged to the root logger, thereby making it difficult to selectively filter the logs it produced.

I added log = logging.getLogger(__name__) to each logging file and changed the logging statements to log.{LOG LEVEL}("message") so they'd log to the appropriate logger.

I also cleaned up some of the logging.

jbuckner and others added some commits Nov 5, 2012

@jbuckner jbuckner Merge pull request #1 from openid/master
Python OpenID Server Logging and Updates
Jason Buckner change from root-level logging to module-level logging so we can filt…
…er appropriately

@jbuckner jbuckner closed this Jan 31, 2013

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