
test_logging_error calls getLogger at the module level and thus a logger gets permanently inserted into the _loggers dict and is visible in all other tests. As tests shouldn't affect each other, a logger creation should be moved to the TestLoggingFixture class setUp method. Change-Id: I8e988c88cc1ffaf53bd3c97607f16fc2a8078d12
oslo.log -- Oslo Logging Library
The oslo.log (logging) configuration library provides standardized configuration for all openstack projects. It also provides custom formatters, handlers and support for context specific logging (like resource id's etc).
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.log
- Source: http://git.openstack.org/cgit/openstack/oslo.log
- Bugs: http://bugs.launchpad.net/oslo.log
Description