From 9cc20db66b3e75a4bf40ada1a50dd2e1112435eb Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Thu, 25 Oct 2018 15:05:10 +0200 Subject: Indicate application, job and step in Vespa log (always the intention) --- .../yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'controller-server') diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java index e7ffa5115f1..a3d1d389481 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/deployment/InternalStepRunner.java @@ -572,12 +572,10 @@ public class InternalStepRunner implements StepRunner { private final RunId id; private final Step step; - private final String prefix; private DualLogger(RunId id, Step step) { this.id = id; this.step = step; - this.prefix = id + " at " + step + ": "; } private void log(String message) { @@ -589,7 +587,7 @@ public class InternalStepRunner implements StepRunner { } private void log(Level level, String message, Throwable thrown) { - logger.log(level, message, thrown); + logger.log(level, id + " at " + step + ": " + message, thrown); if (thrown != null) { ByteArrayOutputStream traceBuffer = new ByteArrayOutputStream(); -- cgit v1.2.3