Looks like the ConsoleAppender is by default turned on.  When I called
Category.getRoot().removeAllAppenders() before adding the file appender,
then it worked fine.

Venkat

-----Original Message-----
From: Mark Womack [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 9:29 AM
To: 'Log4J Users List'
Subject: RE: Problem with RollingFileAppender


Venkat,

Can you post an example of the messages getting posted to the console?
Maybe there are log4j debug messages?  Are you setting log4j.debug to true?

-Mark

-----Original Message-----
From: Venkat Dokiparthi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 3:42 PM
To: 'Log4J Users List'
Subject: Problem with RollingFileAppender


Hi,

I am using Log4j 1.1.3 and using RollingFileAppender.  All works fine and
the log goes to the specified file.  There are some extra log statements
that also go into console as if I added ConsoleAppender.  The format of the
statements that go into console are different from the ones that go into the
file.  Correct format of log statements go into the file as expected.  But I
am not sure how it adds different formatted statements into Console.

Can anybody help?

Thanks,
Venkat

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

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

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

Reply via email to