summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorKiall Mac Innes <kiall@hp.com>2013-03-17 12:54:42 +0000
committerKiall Mac Innes <kiall@hp.com>2013-03-17 12:54:42 +0000
commit52e5321835afd0605b5f3d279d71b3348b2b573f (patch)
treea6a09ef4ba6624ca9877f8c7672a02467d3b1165 /openstack
parent65e3d8c9773880094c0a4c164e046fae9cb7a5d9 (diff)
downloadoslo-52e5321835afd0605b5f3d279d71b3348b2b573f.tar.gz
oslo-52e5321835afd0605b5f3d279d71b3348b2b573f.tar.xz
oslo-52e5321835afd0605b5f3d279d71b3348b2b573f.zip
Include PID in default logging_context_format_string
Change-Id: I1d0458ecb1314c941d8c72a54c76f9e554ef4348
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 59df758..33559f8 100644
--- a/openstack/common/log.py
+++ b/openstack/common/log.py
@@ -111,9 +111,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 '