Comment 3 for bug 1083218

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

git review here for oslo:
https://review.openstack.org/17205

once that change is in, then it's easy to edit nova to set what's needed.

 def parse_args(argv, default_config_files=None):
     cfg.CONF.disable_interspersed_args()
+ log.set_defaults(logging_context_format_string=
+ '%(asctime)s %(levelname)s %(name)s [%(request_id)s '
+ '%(user_id)s %(project_id)s] %(instance)s'
+ '%(message)s')
     return argv[:1] + cfg.CONF(argv[1:],
                                project='nova',
                                default_config_files=default_config_files)