Merge "Build process outputs each line twice"
This commit is contained in:
commit
d312dfed95
@ -63,6 +63,7 @@ def make_a_logger(conf=None, image_name=None):
|
||||
if not log.handlers:
|
||||
if conf is None or not conf.logs_dir or not image_name:
|
||||
handler = logging.StreamHandler(sys.stdout)
|
||||
log.propagate = False
|
||||
else:
|
||||
filename = os.path.join(conf.logs_dir, "%s.log" % image_name)
|
||||
handler = logging.FileHandler(filename, delay=True)
|
||||
|
Loading…
Reference in New Issue
Block a user