/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

package org.apache.geronimo.gshell.remote.filter;

import org.apache.mina.common.IoEventType;

/**
 * ???
 *
 * @version $Rev$ $Date$
 */
public class LoggingFilter
    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);
    }
}
@@ -907,11 +907,58 @@
 %0A * 
-???
+Custom logging filter to setup some better levels.
 %0A *%0A
@@ -1155,53 +1155,8 @@
 HT, 
-org.apache.mina.filter.logging.LoggingFilter.
 WARN
@@ -1201,53 +1201,8 @@
 TE, 
-org.apache.mina.filter.logging.LoggingFilter.
 TRAC
@@ -1259,53 +1259,8 @@
 ED, 
-org.apache.mina.filter.logging.LoggingFilter.
 TRAC
@@ -1313,53 +1313,8 @@
 NT, 
-org.apache.mina.filter.logging.LoggingFilter.
 TRAC
@@ -1369,53 +1369,8 @@
 ED, 
-org.apache.mina.filter.logging.LoggingFilter.
 DEBU
@@ -1426,53 +1426,8 @@
 ED, 
-org.apache.mina.filter.logging.LoggingFilter.
 DEBU
@@ -1480,53 +1480,8 @@
 LE, 
-org.apache.mina.filter.logging.LoggingFilter.
 DEBU
@@ -1536,53 +1536,8 @@
 ED, 
-org.apache.mina.filter.logging.LoggingFilter.
 DEBU

Tidy up and add javadoc