Sean McGinnis f718919c45 Fix poor examples of exception logging
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
2015-08-28 08:50:26 -05:00
2015-07-15 19:49:04 +00:00

oslo.log -- Oslo Logging Library

Latest Version

Downloads

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).

Description
Logging library.
Readme 7.5 MiB
Languages
Python 100%