You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by vijay reddy <vi...@yahoo.com> on 2003/01/31 22:07:19 UTC

Hi Guys

Hi,

    Do i need to change programatically or if i change
property file or xml is it going to work.

Thanks,
Vijay

> 
> Anyway, see the Javadoc for
> org.apache.log4j.varia.LevelMatchFilter
> 
> <filter
> class="org.apache.log4j.varia.LevelMatchFilter">
>    <param name="LevelToMatch" value="DEBUG" />
>    <param name="AcceptOnMatch" value="true" />
> </filter> 
> 
> ...or something like that
> 
> []'s
> Daniel Serodio
> 
> On Fri, 2003-01-31 at 17:45, vijay reddy wrote:
> > HI ,
> > 
> >    I want to generate 5 log files depends on
> levels in
> > the same class.
> > (ex:  Logger logger =
> Logger.getLogger("com.abcd");
> >   logger.debug("debug message");
> > 
> > 1. debug message will go to debug.log,
> > 2. error messages will go to error.log, 
> > 3. Info messages will go to info.log,
> > 4. warn messages will go warn.log, 
> > 5. fatal messages will go to fatal.log.
> > Is it possible by using Log4j.Can you suggest me.
> > 
> > Thanks,
> > Vijay
> > 
> > 
> > 
> > 
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> log4j-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> log4j-user-help@jakarta.apache.org
> -- 
> Daniel Serodio <da...@checkforte.com.br>
> CheckForte
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> log4j-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org