geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r576850 - /geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/filter/LoggingFilter.java
Date Tue, 18 Sep 2007 11:24:23 GMT
Author: jdillon
Date: Tue Sep 18 04:24:23 2007
New Revision: 576850

URL: http://svn.apache.org/viewvc?rev=576850&view=rev
Log:
Tidy up and add javadoc

Modified:
    geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/filter/LoggingFilter.java

Modified: geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/filter/LoggingFilter.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/filter/LoggingFilter.java?rev=576850&r1=576849&r2=576850&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/filter/LoggingFilter.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-common/src/main/java/org/apache/geronimo/gshell/remote/filter/LoggingFilter.java
Tue Sep 18 04:24:23 2007
@@ -22,7 +22,7 @@
 import org.apache.mina.common.IoEventType;
 
 /**
- * ???
+ * Custom logging filter to setup some better levels.
  *
  * @version $Rev$ $Date$
  */
@@ -30,13 +30,13 @@
     extends org.apache.mina.filter.logging.LoggingFilter
 {
     public LoggingFilter() {
-        setLogLevel(IoEventType.EXCEPTION_CAUGHT, org.apache.mina.filter.logging.LoggingFilter.WARN);
-        setLogLevel(IoEventType.WRITE, org.apache.mina.filter.logging.LoggingFilter.TRACE);
-        setLogLevel(IoEventType.MESSAGE_RECEIVED, org.apache.mina.filter.logging.LoggingFilter.TRACE);
-        setLogLevel(IoEventType.MESSAGE_SENT, org.apache.mina.filter.logging.LoggingFilter.TRACE);
-        setLogLevel(IoEventType.SESSION_CLOSED, org.apache.mina.filter.logging.LoggingFilter.DEBUG);
-        setLogLevel(IoEventType.SESSION_CREATED, org.apache.mina.filter.logging.LoggingFilter.DEBUG);
-        setLogLevel(IoEventType.SESSION_IDLE, org.apache.mina.filter.logging.LoggingFilter.DEBUG);
-        setLogLevel(IoEventType.SESSION_OPENED, org.apache.mina.filter.logging.LoggingFilter.DEBUG);
+        setLogLevel(IoEventType.EXCEPTION_CAUGHT, WARN);
+        setLogLevel(IoEventType.WRITE, TRACE);
+        setLogLevel(IoEventType.MESSAGE_RECEIVED, TRACE);
+        setLogLevel(IoEventType.MESSAGE_SENT, TRACE);
+        setLogLevel(IoEventType.SESSION_CLOSED, DEBUG);
+        setLogLevel(IoEventType.SESSION_CREATED, DEBUG);
+        setLogLevel(IoEventType.SESSION_IDLE, DEBUG);
+        setLogLevel(IoEventType.SESSION_OPENED, DEBUG);
     }
 }



Mime
View raw message