Merge "Fix Backup uses latest req-id for all log calls"
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user