From 6486378c89dc5ffd0938d66a13ca81f68ffbaf7a Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Fri, 22 Jun 2018 16:47:13 +0100 Subject: [PATCH] commands/run: add run.log as an Artifact Add run.log as an Artifact to the output, once it has been created. Every file outsize of __meta (excepting result.json) should have an associated artifact to describe it. --- wa/commands/run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wa/commands/run.py b/wa/commands/run.py index 0321c93b..6bb067e0 100644 --- a/wa/commands/run.py +++ b/wa/commands/run.py @@ -87,6 +87,8 @@ class RunCommand(Command): def execute(self, config, args): output = self.set_up_output_directory(config, args) log.add_file(output.logfile) + output.add_artifact('runlog', output.logfile, kind='log', + description='Run log.') disabled_augmentations = toggle_set([i != '~~' and "~{}".format(i) or i for i in args.augmentations_to_disable])