Hi Emanuael,
Thanks for replying.
I am using log4-jboss configurations and my root looks like.
<root>
<priority value="INFO"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
I don't want any log message from apache SessionLog. I went added a new
appender
<category name="org.apache.mina.util.SessionLog">
<priority value="NONE"/>
<appender-ref ref="FILE"/>
</category>
But I still see those log messages.
2) Another question related to IoConnector. How do I terminate a connection.
Isn't it default when all the connect requests are freezed it should
automatically stop? But, I still see it up sometimes.
Thanks,
On Mon, Oct 20, 2008 at 11:35 AM, Emmanuel Lecharny <[EMAIL PROTECTED]>wrote:
> Chandrajeet Padhy wrote:
>
>> Thanks Emanuael for writing,
>>
>> But the SessionLog class is part of the core1-1-6.jar. I dont use SLF4J.
>> We use log4j.
>>
>>
> and mina is using slf4j. This is just a facade : it mimics the user's
> logger. So whatever configuration you set for log4j, it will be used by
> slf4j.
>
>> SessionLog puts the messages on [STDERR] console appender. I just want to
>> suppress all SessionLog messages. Is there a machanism?
>>
>>
> Just modify your log4j configuration so that no log is produced. It should
> work.
>
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>