You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/11/06 08:31:54 UTC

[07/10] camel git commit: Remove double logging as the context logs also its starting

Remove double logging as the context logs also its starting


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f55834e0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f55834e0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f55834e0

Branch: refs/heads/master
Commit: f55834e06b14ff290f690229dc1dbd59ecaabc3f
Parents: 72376e2
Author: Claus Ibsen <da...@apache.org>
Authored: Thu Nov 5 22:40:38 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Nov 6 08:34:27 2015 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/main/MainSupport.java      | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f55834e0/camel-core/src/main/java/org/apache/camel/main/MainSupport.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/main/MainSupport.java b/camel-core/src/main/java/org/apache/camel/main/MainSupport.java
index eb151ec..0f85a71 100644
--- a/camel-core/src/main/java/org/apache/camel/main/MainSupport.java
+++ b/camel-core/src/main/java/org/apache/camel/main/MainSupport.java
@@ -311,18 +311,11 @@ public abstract class MainSupport extends ServiceSupport {
     }
 
     protected void doStop() throws Exception {
-        if (!isStopped()) {
-            LOG.info("Apache Camel " + getVersion() + " stopping");
-        }
         // call completed to properly stop as we count down the waiting latch
         completed();
     }
 
     protected void doStart() throws Exception {
-        if (!isStarted()) {
-            // only log if we are not already started as camel-spring-boot etc. has a different start ordering
-            LOG.info("Apache Camel " + getVersion() + " starting");
-        }
     }
 
     protected void waitUntilCompleted() {