You would probably have to write a custom filter.  Normally appenders
get everything from the specified level _and above_.

On 7/7/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Hi all... I have what I thought would be a simple question, but it's
> completely beating me...
> 
> I am using the XML config file seen below, Log4J 1.2.8.  The problem I
> have is that anything that calls log.error() in my code goes to
> appError.log as I want, but it *ALSO* goes to appInfo.log.  I need it to
> *ONLY* go to appError.log.
> 
> Problem is, I haven't been able to figure out how to configure that.  I
> thought I could just add another category, but because I have classes all
> throughout the app in various packages, this doesn't seem to be the right
> answer.
> 
> Can anyone point me in the right direction?  Thanks!

-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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

Reply via email to