You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2014/12/30 23:21:26 UTC

camel git commit: CAMEL-8168: Remove the System.out.println() call

Repository: camel
Updated Branches:
  refs/heads/master dbf34e908 -> 4c130488c


CAMEL-8168: Remove the System.out.println() call

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

Branch: refs/heads/master
Commit: 4c130488c7b3ea2ec0a944c8ba011906c024e8cd
Parents: dbf34e9
Author: Babak Vahdat <bv...@apache.org>
Authored: Tue Dec 30 23:21:10 2014 +0100
Committer: Babak Vahdat <bv...@apache.org>
Committed: Tue Dec 30 23:21:10 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/mina2/Mina2Consumer.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4c130488/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
----------------------------------------------------------------------
diff --git a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
index f485155..1df470b 100644
--- a/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
+++ b/components/camel-mina2/src/main/java/org/apache/camel/component/mina2/Mina2Consumer.java
@@ -96,9 +96,9 @@ public class Mina2Consumer extends DefaultConsumer {
     protected void doStop() throws Exception {
         LOG.info("Unbinding from server address: {} using acceptor: {}", address, acceptor);
         if (address instanceof InetSocketAddress) {
-            // need to check if the address is IPV4 TCP all net work address
+            // need to check if the address is IPV4 all network address
             if ("0.0.0.0".equals(((InetSocketAddress)address).getAddress().getHostAddress())) {
-                System.out.println("Unbind the server address " + acceptor.getLocalAddresses());
+                LOG.info("Unbind the server address {}", acceptor.getLocalAddresses());
                 acceptor.unbind(acceptor.getLocalAddresses());
             } else {
                 acceptor.unbind(address);