Susan Bradeen wrote:

> Ok, I deleted log4j.properties and the application happily runs the same
> as it has since I started this process ... all log messages are going to
> the console. Should I be getting an error since the properties file is
> gone now?

I had problems similar to yours when upgraded from struts 1.1b2 to 1.1b3. I 
solved it by adding log4j.additivity.<your category>=false.

Here are the affected files:

,----[ commons-logging.properties ]
| 
#org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.SimpleLog
| org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
| org.apache.commons.logging.simplelog.defaultlog=warn

`----

,----[ log4j.properties ]
| #log4j.rootLogger=WARN, A1
| log4j.logger.my.company=DEBUG, A1
| log4j.additivity.my.company=false


[ other configuration options, such as appenders and layouts.

`----

No root logger is defined. 

I don't know if commons-logging.properties is needed, but it works and I'm 
not going to change the things that work :-)

-- 
[EMAIL PROTECTED]


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

Reply via email to