diff --git a/oslo_privsep/daemon.py b/oslo_privsep/daemon.py index df168f5..c9038e8 100644 --- a/oslo_privsep/daemon.py +++ b/oslo_privsep/daemon.py @@ -550,13 +550,7 @@ def helper_main(): cfg.CONF(args=sys.argv[1:], project='privsep') # note replace_logging call below - try: - logging.setup(cfg.CONF, 'privsep', fix_eventlet=False) - except TypeError: - # NOTE(ralonsoh): in case of using oslo.log<5.0.2, kwarg - # "fix_eventlet" won't be defined. Remove this try clause when oslo.log - # is bumped. - logging.setup(cfg.CONF, 'privsep') + logging.setup(cfg.CONF, 'privsep', fix_eventlet=False) context = importutils.import_class(cfg.CONF.privsep_context) from oslo_privsep import priv_context # Avoid circular import diff --git a/requirements.txt b/requirements.txt index b44b3d2..ea7c80e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -oslo.log>=3.36.0 # Apache-2.0 +oslo.log>=5.0.2 # Apache-2.0 oslo.i18n>=3.15.3 # Apache-2.0 oslo.config>=5.2.0 # Apache-2.0 oslo.utils>=3.33.0 # Apache-2.0