Logging library.
Go to file
Nikita Gerasimov a2956d7ff0 Fix handling of exc_info in OSJournalHandler
exc_info is exception tuple not intended to be printed. It's using to
generate output by logging.Formatter().formatException() instead.
exc_text used to cache this output. So we use handler formatter to get
string from exc_info and send it as EXCEPTION_INFO. EXCEPTION_TEXT is
kept for backward compatibility.

Also adds type validation for journal.send fields to unit tests. Known
types could be gotten from journal.DEFAULT_CONVERTERS. The rest payload
must be either a string or bytes.

Change-Id: Idc0b9edc61b4ec39dc9df0ea8282cc104e4d83c0
Closes-Bug: 1802142
2018-11-30 18:10:33 +03:00
doc Add config options for log rotation 2018-11-21 13:46:14 +02:00
oslo_log Fix handling of exc_info in OSJournalHandler 2018-11-30 18:10:33 +03:00
playbooks/legacy/oslo.log-src-grenade-devstack Migrate to Zuul v3 2017-10-12 03:46:50 +00:00
releasenotes Add config options for log rotation 2018-11-21 13:46:14 +02:00
tools Fix sphinx-docs job 2018-04-27 19:01:50 +02:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:22:34 -04:00
.gitignore Clean up .gitignore references to personal tools 2018-10-15 11:49:07 +08:00
.gitreview exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
.mailmap exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
.stestr.conf Migrate to stestr 2018-08-10 15:57:52 -04:00
.zuul.yaml Merge "Add devstack job with JSONFormatter configured" 2018-10-06 17:37:00 +00:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 22:52:25 +08:00
HACKING.rst Update URLs according to document migration 2017-07-11 22:46:53 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
README.rst Add release notes link to README 2018-06-21 13:29:52 +08:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00
lower-constraints.txt Migrate to stestr 2018-08-10 15:57:52 -04:00
requirements.txt Fix lower-constraints job 2018-08-10 15:56:56 -04:00
setup.cfg Always build universal wheels 2018-10-09 15:57:10 +02:00
setup.py Updated from global requirements 2017-03-03 00:03:04 +00:00
test-requirements.txt Follow the new PTI for document build 2018-08-10 16:01:51 -04:00
tox.ini Follow the new PTI for document build 2018-08-10 16:01:51 -04:00

README.rst

Team and repository tags

image

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