I'm faced with a similar situation.

I need to log error and fatal in a separate log file
while debug, info and warn in another file. Is this
possible ?

I tried with creating a different apenders but does'nt
seem to work.
Any suggestions?





--- Ashwin Bangalore <[EMAIL PROTECTED]>
wrote:
> Scott,
> Thanks so much. That solution definitely helped.
> I had probably picked up that line from a bad sample
> properties
> file.
> Cheers,
> Ashwin.
> 
> -----Original Message-----
> From: Scott Farquhar [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 8:19 PM
> To: Log4J Users List
> Subject: Re: Log4j writes to multiple log files
> (Additivity problems?)
> 
> 
> This line:
> 
> log4j.additivity.category.default=false
> 
> should be this instead:
> 
> log4j.additivity.default=false
> 
> Similar for the other additivity lines.
> 
> 
> Cheers,
> Scott
> 
> Ashwin Bangalore wrote:
> > Hello Log4J Gurus,
> > 
> > I have a bit of a problem with Log4J writing into
> multiple log files.
> > I searched the mailing list for a similar
> problem/solution but I've
> > either missed it somewhere or didn't find an exact
> problem posted.
> 
> << Snipped >>
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to