
There were several examples showing passing an exception in as the message text to a call to LOG.exception. LOG.exception will automatically log the exception details, so doing something like this results in the exception information being written out twice. To prevent the possibility of someone seeing these examples and assuming that is the correct way to use LOG.exception, examples have been updated to use LOG.error instead to illustrate the correct way to pass in exceptions in the message string. Change-Id: I582008609180a02eaff3d85bee5b5ca4381719ce
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
Languages
Python
100%