If what you want is not have any messages at all in your console, don't attach the console appender to any logger :)
If what you want is to have only errors and fatals in your console but no infos, then set the threshold of the console appender to "ERROR". On 7/21/05, Sriram Venkatasubramanian <[EMAIL PROTECTED]> wrote: > I would like to stop the INFO 's in the console of my application > server ( I am using oc4j 9.0.4) . Is there any thing I need to configure > in my log4j.xml to do that? > > > -----Original Message----- > From: Curt Arnold [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 21, 2005 10:51 AM > To: Log4J Users List > Subject: Re: Log4j logging to System.out? > > > On Jul 20, 2005, at 11:57 PM, Sriram Venkatasubramanian wrote: > > > I am also facing the same problem . Here is my log4j.xml. > > > > Please describe what behavior that you are seeing that you think is > wrong? As I read your configuration file, all info logging requests > would go to the console appender in addition to a file except those > sent to the "INOUT_LOG" logger or descendants. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Javier Gonzalez Nicolini --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
