Moved create directory log level to debug
Avoids console span when running in non verbose mode, especially when using --config-xml which would create one folder for each job created. Change-Id: Id5d47c50c5c364068c26437c125e4066b856587c Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
parent
72dfe41186
commit
713b660aaf
@ -80,7 +80,7 @@ class JenkinsManager(object):
|
||||
output_fn = os.path.join(output_dir, 'config.xml')
|
||||
|
||||
if output_dir != output:
|
||||
logger.info("Creating directory %s" % output_dir)
|
||||
logger.debug("Creating directory %s" % output_dir)
|
||||
try:
|
||||
os.makedirs(output_dir)
|
||||
except OSError:
|
||||
@ -239,7 +239,7 @@ class JenkinsManager(object):
|
||||
|
||||
if (output and not hasattr(output, 'write') and
|
||||
not os.path.isdir(output)):
|
||||
logger.info("Creating directory %s" % output)
|
||||
logger.debug("Creating directory %s" % output)
|
||||
try:
|
||||
os.makedirs(output)
|
||||
except OSError:
|
||||
|
Loading…
Reference in New Issue
Block a user