Skip to content
Snippets Groups Projects
Commit d312dfed authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Build process outputs each line twice"

parents 9b9aea18 80bdb458
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment