logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: How do I turn off console logging...
Date Thu, 12 Aug 2004 16:52:35 GMT
How are you configure log4j?  If you're calling
BasicConfigurator.configure(), that adds a console appender.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Sean Casey [mailto:slcasey@qualcomm.com]
>Sent: Thursday, August 12, 2004 12:43 PM
>To: log4j-user@logging.apache.org
>Subject: How do I turn off console logging...
>I am new to log4j, so forgive my possibly stupid question.  I want to
>my application log to a daily rotating file only, i.e. I don't want
>anything to come to the console, AND I don't want every log message
>twice.  I have defined a named logger, and have set its appender to be
>DailyRollingFileAppender, but I can't figure out how to silence the
>rootLogger, nor can I get the additivity to work, so that I don't get
>duplicate entries.  Can anyone help me?
>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org

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

View raw message