summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-03-26 15:23:09 +0000
committerGerrit Code Review <review@openstack.org>2013-03-26 15:23:09 +0000
commit1353ff7f587cce185585c6b3f2454ba6f2fd2171 (patch)
tree5cc48e064327085dabc2f513f08e972d1e7341d6 /openstack
parentcecaacfe97cc58b0de103bc6450802a562352787 (diff)
parent52e5321835afd0605b5f3d279d71b3348b2b573f (diff)
downloadoslo-1353ff7f587cce185585c6b3f2454ba6f2fd2171.tar.gz
oslo-1353ff7f587cce185585c6b3f2454ba6f2fd2171.tar.xz
oslo-1353ff7f587cce185585c6b3f2454ba6f2fd2171.zip
Merge "Include PID in default logging_context_format_string"
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/log.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openstack/common/log.py b/openstack/common/log.py
index baa48de..8f4db7c 100644
--- a/openstack/common/log.py
+++ b/openstack/common/log.py
@@ -112,9 +112,9 @@ generic_log_opts = [
log_opts = [
cfg.StrOpt('logging_context_format_string',
- default='%(asctime)s.%(msecs)03d %(levelname)s %(name)s '
- '[%(request_id)s %(user)s %(tenant)s] %(instance)s'
- '%(message)s',
+ default='%(asctime)s.%(msecs)03d %(process)d %(levelname)s '
+ '%(name)s [%(request_id)s %(user)s %(tenant)s] '
+ '%(instance)s%(message)s',
help='format string to use for log messages with context'),
cfg.StrOpt('logging_default_format_string',
default='%(asctime)s.%(msecs)03d %(process)d %(levelname)s '