From e1ea5565b6f0967aff115f397e87cc9bc30e04ef Mon Sep 17 00:00:00 2001
From: Christian Wulf <chw@informatik.uni-kiel.de>
Date: Tue, 4 Nov 2014 07:28:38 +0100
Subject: [PATCH] fixed logging issue

---
 src/main/java/teetime/framework/signal/StartingSignal.java | 1 +
 src/main/resources/logback.groovy                          | 6 ++----
 src/test/resources/{logback-test.groovy => logback.groovy} | 4 +++-
 3 files changed, 6 insertions(+), 5 deletions(-)
 rename src/test/resources/{logback-test.groovy => logback.groovy} (88%)

diff --git a/src/main/java/teetime/framework/signal/StartingSignal.java b/src/main/java/teetime/framework/signal/StartingSignal.java
index 77637f97..af78c4e1 100644
--- a/src/main/java/teetime/framework/signal/StartingSignal.java
+++ b/src/main/java/teetime/framework/signal/StartingSignal.java
@@ -17,6 +17,7 @@ public class StartingSignal implements ISignal {
 	public void trigger(final AbstractStage stage) {
 		try {
 			stage.onStarting();
+			LOGGER.info(stage + " started.");
 		} catch (Exception e) {
 			catchedExceptions.add(e);
 			LOGGER.error("Exception while sending the start signal", e);
diff --git a/src/main/resources/logback.groovy b/src/main/resources/logback.groovy
index 235da2c6..ab2f6629 100644
--- a/src/main/resources/logback.groovy
+++ b/src/main/resources/logback.groovy
@@ -21,10 +21,8 @@ appender("CONSOLE", ConsoleAppender) {
 
 root WARN, ["CONSOLE"]
 
-//logger "teetime.variant.methodcallWithPorts.stage", DEBUG, ["CONSOLE"]
-logger "teetime.variant.methodcallWithPorts.stage", INFO
-
-logger "teetime.variant.methodcallWithPorts.framework.core.pipe", INFO
+//logger "teetime.framework", INFO
+//logger "teetime.stage", INFO
 
 logger "util.TimingsReader", TRACE, ["FILE"]
 logger "util.BucketTimingsReader", TRACE, ["FILE"]
\ No newline at end of file
diff --git a/src/test/resources/logback-test.groovy b/src/test/resources/logback.groovy
similarity index 88%
rename from src/test/resources/logback-test.groovy
rename to src/test/resources/logback.groovy
index b1562678..3b223177 100644
--- a/src/test/resources/logback-test.groovy
+++ b/src/test/resources/logback.groovy
@@ -21,5 +21,7 @@ appender("CONSOLE", ConsoleAppender) {
 
 root ERROR, ["CONSOLE"]
 
-logger "teetime.variant.methodcallWithPorts.stage", INFO
+logger "teetime.framework", INFO
+logger "teetime.stage", INFO
+
 logger "util", INFO
\ No newline at end of file
-- 
GitLab