Drop missing configuration file log to debug
Missing configuration files are a 'normal' thing to expect, so don't need to be logged as warning messages. Change-Id: I2413969d48c3785db497549465564a4d493a6b26
This commit is contained in:
parent
1c552167ee
commit
29972e5066
@ -132,16 +132,16 @@ class OpenStackSnap(object):
|
||||
if os.path.exists(cfile):
|
||||
cmd.append('--config-file={}'.format(cfile))
|
||||
else:
|
||||
LOG.warning('Configuration file {} not found'
|
||||
', skipping'.format(cfile))
|
||||
LOG.debug('Configuration file {} not found'
|
||||
', skipping'.format(cfile))
|
||||
|
||||
for cdir in entry_point.get('config-dirs', []):
|
||||
cdir = cdir.format(**self.snap_env)
|
||||
if os.path.exists(cdir):
|
||||
cmd.append('--config-dir={}'.format(cdir))
|
||||
else:
|
||||
LOG.warning('Configuration directory {} not found'
|
||||
', skipping'.format(cdir))
|
||||
LOG.debug('Configuration directory {} not found'
|
||||
', skipping'.format(cdir))
|
||||
|
||||
log_file = entry_point.get('log-file')
|
||||
if log_file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user