Merge "Fix Backup uses latest req-id for all log calls"

This commit is contained in:
Zuul
2018-01-23 21:51:57 +00:00
committed by Gerrit Code Review
+5 -1
View File
@@ -21,14 +21,18 @@ import logging as python_logging
import shlex
import sys
# NOTE(geguileo): Monkey patching must go before OSLO.log import, otherwise
# OSLO.context will not use greenthread thread local and all greenthreads will
# share the same context.
import eventlet
eventlet.monkey_patch()
from oslo_config import cfg
from oslo_log import log as logging
from oslo_privsep import priv_context
from oslo_reports import guru_meditation_report as gmr
from oslo_reports import opts as gmr_opts
eventlet.monkey_patch()
from cinder import i18n
i18n.enable_lazy()