Re: how to switch of logging with log4j at initialization

2003-04-02 Thread Martin Monsorno
"Craig R. McClanahan" <[EMAIL PROTECTED]> writes: [...] >> >> As I wrote as an answer to Edgar Dollin, my problem is not that log4j >> is used, but that my log4j configuration seems to be not the only one >> used, as I set the logging for "com.apache" to a file with ERROR >> level, but the outpu

Re: how to switch of logging with log4j at initialization

2003-04-01 Thread Martin Monsorno
"Niesen, Nathan" <[EMAIL PROTECTED]> writes: > There is a bug in commons-logging 1.0.2+ that causes log4j to be used if > it's found in the classpath. Just remove the log4j jar from your webapps > lib dir. > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17561 > > There is also a bug in the c

Re: how to switch of logging with log4j at initialization

2003-04-01 Thread Martin Monsorno
Edgar Dollin <[EMAIL PROTECTED]> writes: > In commons-logging.properties (somewhere on the classpath) I have these two > lines > > > org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory > Log > > org.apache.commons.logging.LogFactory=org.apache.commons.logging.

Re: how to switch of logging with log4j at initialization

2003-03-28 Thread Martin Monsorno
COMPAGNON GUILLAUME <[EMAIL PROTECTED]> writes: > according to me (as the simplest way), you need to have a > commons-logging.propeties file with > org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.Log4jF > actory I tried this already, but it doesn't change anything. Apparen

Re: how to switch of logging with log4j at initialization

2003-03-26 Thread Martin Monsorno
Stephen Smithstone <[EMAIL PROTECTED]> writes: > if you have the log4j.properties on the classpath in the file just add > > log4j.logger.org.apache.struts = warn > > that will stop the struts stuff Hmm, I didn't understand completely what you recommended, but I - did put the log4j.property file on

how to switch of logging with log4j at initialization

2003-03-25 Thread Martin Monsorno
Hi *, when starting my struts-enabled web-app, I get output like this , | [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true | [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', retu