Thanks all!
right now I'm make Log4JFilter() and it's working well.
my console is clean now. :-)
--
import org.apache.log4j.*;
public class Log4JFilter extends IoFilterAdapter {
...
}
--
On 9/17/07, Maarten Bosteels <[EMAIL PROTECTED]> wrote:
> To use log4j, you need these jars on the classpath:
>
> slf4j-api-1.4.3.jar
> slf4j-log4j12-1.4.3.jar
> log4j-1.2.x.jar
>
> see http://www.nabble.com/slf4j-logging-t4402442s16868.html
>
> Maarten
>
>
> On 9/17/07, Mark <[EMAIL PROTECTED]> wrote:
> >
> > Depending on the underlying logging system you are using, it depends. If
> > you are using Log4J, then you just need to configure a
> > log4j.propertiesfile. See the Log4J documentation for more
> > information.
> >
> >
> >
> > On 9/17/07, Sungwon Jung <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello. I'm using MINA 1.1.2.
> > >
> > > I use LoggingFilter(). like this "cfg_acu.getFilterChain().addLast(
> > > "logger", new LoggingFilter() );"
> > >
> > > LoggingFilter() print message to console.
> > > I want output log message to file not console.
> > >
> > > is it possible?
> > >
> > > thank you.
> > >
> >
> >
> >
> > --
> > ..Cheers
> > Mark