diff --git a/aws_lambda_builders/workflow.py b/aws_lambda_builders/workflow.py index 46a249166..133ff854a 100644 --- a/aws_lambda_builders/workflow.py +++ b/aws_lambda_builders/workflow.py @@ -362,8 +362,10 @@ def run(self): for action in self.actions: action_info = "{}:{}".format(self.NAME, action.NAME) - - LOG.info("Running %s", action_info) + function_name = "" + if self.options and "build_logical_id" in self.options: + function_name = "{}:".format(self.options["build_logical_id"]) + LOG.info("%s Running %s", function_name, action_info) try: action.execute() diff --git a/aws_lambda_builders/workflows/custom_make/actions.py b/aws_lambda_builders/workflows/custom_make/actions.py index 71ff5740b..cde42b0cf 100644 --- a/aws_lambda_builders/workflows/custom_make/actions.py +++ b/aws_lambda_builders/workflows/custom_make/actions.py @@ -92,7 +92,7 @@ def execute(self): try: current_env = self.osutils.environ() - LOG.info("Current Artifacts Directory : %s", self.artifact_dir_path) + LOG.info("%s: Current Artifacts Directory : %s", self.build_logical_id, self.artifact_dir_path) current_env.update({"ARTIFACTS_DIR": self.artifact_dir_path}) # Export environmental variables that might be needed by other binaries used # within the Makefile and also specify the makefile to be used as well.