Ignore error if the log config file is not present
Change-Id: I3db7bb29fa04c242ff3c4437aed8ddaec45611a8
This commit is contained in:
parent
68ea2742cc
commit
54cf66ae6a
@ -65,7 +65,10 @@ other required arguments.
|
||||
|
||||
"""
|
||||
conf_file = ConfigProvider.get_translator_logging_file()
|
||||
logging.config.fileConfig(conf_file)
|
||||
try:
|
||||
logging.config.fileConfig(conf_file)
|
||||
except Exception:
|
||||
pass
|
||||
log = logging.getLogger("heat-translator")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user