Thanks Emanuael for writing,

But the SessionLog class is part of the core1-1-6.jar. I dont use SLF4J.
We use log4j.

SessionLog puts the messages on [STDERR] console appender. I just want to
suppress all SessionLog messages. Is there a machanism?

Much appreciated of your time,

Chandra


On Mon, Oct 20, 2008 at 10:06 AM, Emmanuel Lecharny <[EMAIL PROTECTED]>wrote:

> Chandrajeet Padhy wrote:
>
>> Hi All,
>>
>> I am having a trouble with the IoHandlerAdapter. I can see messages
>> transmitting and only messageSent gets invoked. Even if there is a message
>> reply it doesn't come into messageReceived method.
>> Thus I reused the logging filter to handle message receipts as a work
>> around. as below
>> serviceConfig.getFilterChain().addLast("logger", new
>> RFMessageFilter(eventHandlingStrategy));
>>
>> But, I want to switch off the log messages those gets printed at "INFO"
>> level from org.apache.mina.util.SessionLog.
>> How can I turn off the log messages or change the log level to not to
>> print
>> at all.
>>
>>
> Mina's logger relies on slf4j which is a facade. Your application's logger
> has to be configured in order to change the logs you'll get. So if you are
> using Log4j, just modify your log4j configuration.
>
> Here is a page which explains how to do that :
> http://mina.apache.org/logging-configuration.html
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>

Reply via email to