It's very rude to e-mail a developer directly with questions that should be asked on this list.
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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Daniel Serodio <[EMAIL PROTECTED]> CheckForte --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]