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:39:19 UTC
camel git commit: Remove double logging as the context logs also its
starting
Repository: camel
Updated Branches:
refs/heads/camel-2.16.x 5ca0e663c -> 54e396a5a
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/54e396a5
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/54e396a5
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/54e396a5
Branch: refs/heads/camel-2.16.x
Commit: 54e396a5a3f2535ea1af57eabea4c72a50465364
Parents: 5ca0e66
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:42:33 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/54e396a5/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() {