geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r707964 - in /geronimo/gshell/trunk: gshell-assembly/src/main/underlay/etc/log4j.xml gshell-remote/gshell-whisper/src/main/java/org/apache/geronimo/gshell/whisper/transport/base/BaseService.java
Date Sun, 26 Oct 2008 10:21:16 GMT
Author: jdillon
Date: Sun Oct 26 03:21:14 2008
New Revision: 707964

URL: http://svn.apache.org/viewvc?rev=707964&view=rev
Log:
Tidy up some logging

Modified:
    geronimo/gshell/trunk/gshell-assembly/src/main/underlay/etc/log4j.xml
    geronimo/gshell/trunk/gshell-remote/gshell-whisper/src/main/java/org/apache/geronimo/gshell/whisper/transport/base/BaseService.java

Modified: geronimo/gshell/trunk/gshell-assembly/src/main/underlay/etc/log4j.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-assembly/src/main/underlay/etc/log4j.xml?rev=707964&r1=707963&r2=707964&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-assembly/src/main/underlay/etc/log4j.xml (original)
+++ geronimo/gshell/trunk/gshell-assembly/src/main/underlay/etc/log4j.xml Sun Oct 26 03:21:14
2008
@@ -69,6 +69,10 @@
         <level value="INFO"/>
     </logger>
 
+    <logger name="org.apache.ivy.Ivy">
+        <level value="DEBUG"/>
+    </logger>
+    
     <root>
         <level value="${gshell.log.console.level}"/>
         <appender-ref ref="CONSOLE"/>

Modified: geronimo/gshell/trunk/gshell-remote/gshell-whisper/src/main/java/org/apache/geronimo/gshell/whisper/transport/base/BaseService.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-remote/gshell-whisper/src/main/java/org/apache/geronimo/gshell/whisper/transport/base/BaseService.java?rev=707964&r1=707963&r2=707964&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-remote/gshell-whisper/src/main/java/org/apache/geronimo/gshell/whisper/transport/base/BaseService.java
(original)
+++ geronimo/gshell/trunk/gshell-remote/gshell-whisper/src/main/java/org/apache/geronimo/gshell/whisper/transport/base/BaseService.java
Sun Oct 26 03:21:14 2008
@@ -121,8 +121,6 @@
 
     protected void configure(final IoService service) throws Exception {
         assert service != null;
-
-        log.debug("Configure: {}", service);
         
         // Watch for service events
         service.addListener(new IoServiceListener() {
@@ -130,7 +128,7 @@
                 log.debug("Service activated: {}, filters:", service);
 
                 for (IoFilterChain.Entry entry : service.getFilterChain().getAll()) {
-                    log.debug("    {}", entry);
+                    log.debug("    {} -> {}", entry.getName(), entry.getFilter());
                 }
             }
 
@@ -142,16 +140,12 @@
                 log.debug("Session created: {}; filters:", session);
 
                 for (IoFilterChain.Entry entry : session.getFilterChain().getAll()) {
-                    log.debug("    {}", entry);
+                    log.debug("    {} -> {}", entry.getName(), entry.getFilter());
                 }
-
-                // Session.BINDER.bind(session, new SessionAdapter(session));
             }
 
             public void sessionDestroyed(final IoSession session) {
                 log.debug("Session destroyed: {}", session);
-
-                // Session.BINDER.unbind(session);
             }
         });
 
@@ -164,8 +158,6 @@
     protected void configure(final DefaultIoFilterChainBuilder chain) throws Exception {
         assert chain != null;
 
-        log.debug("Configure: {}", chain);
-
         //
         // HACK: For right now just add a few hard codded to test with, need to make all
this spring configured
         //



Mime
View raw message