Bump oslo.log to version 4.2.1

There were a couple of versions of oslo.log that were
not backwards-compatible. Now that a fixed version was
released, bump lower-constraints to require it and
remove the temporary workaround.

Change-Id: If38105ceaa48a0520ae8243982b736d0bc99ec3a
Related-bug: #1871840
This commit is contained in:
Brian Haley 2020-06-05 14:45:55 -04:00
parent 1a3811448d
commit 4be0baa8cd
3 changed files with 3 additions and 4 deletions

View File

@ -65,7 +65,7 @@ oslo.config==5.2.0
oslo.context==2.20.0
oslo.db==4.37.0
oslo.i18n==3.20.0
oslo.log==4.1.2
oslo.log==4.2.1
oslo.messaging==5.29.0
oslo.middleware==3.31.0
oslo.policy==1.30.0

View File

@ -59,8 +59,7 @@ def setup_logging():
fmt=cfg.CONF.logging_default_format_string,
datefmt=cfg.CONF.log_date_format))
elif cfg.CONF.use_journal:
# TODO(haleyb): remove when oslo.log is fixed, related bug #1871840
journal_handler = handlers.OSJournalHandler(facility=None)
journal_handler = handlers.OSJournalHandler()
LOG.logger.addHandler(journal_handler)
else:
syslog_handler = handlers.OSSysLogHandler()

View File

@ -31,7 +31,7 @@ oslo.config>=5.2.0 # Apache-2.0
oslo.context>=2.20.0 # Apache-2.0
oslo.db>=4.37.0 # Apache-2.0
oslo.i18n>=3.20.0 # Apache-2.0
oslo.log>=4.1.2 # Apache-2.0
oslo.log>=4.2.1 # Apache-2.0
oslo.messaging>=5.29.0 # Apache-2.0
oslo.middleware>=3.31.0 # Apache-2.0
oslo.policy>=1.30.0 # Apache-2.0