logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jchi <james....@telus.com>
Subject Re: Missing or duplicate logging entries using log4j
Date Fri, 04 Jan 2008 18:50:36 GMT

Hi Jake,

Thanks for the reply. We are running it on the weblogic 9.2.2 server.  There
is no log4j.jar under the APP-INF/lib.

Each of the webapp picks up its own log4j.properties from the classpath
during startup.
E.g. App1  picks up [CLASSPATH]/App1/log4j.properties.
App2 picks up [CLASSPATH]/App2/log4j.properties

There is a log4j.properties in the EAR level, but it is only used during the
startup before the proper classpath is constructed.

As I said, 99.9% of the time it is working ok, but there are some rare cases
which an entry is missing or duplicated, like:

2007.08.04-01:34:16 INFO com.abc.transfer.web.action.TransferAction
53115011861912527 [Param: command = transferred]
2007.08.04-01:34:16 INFO com.abc.transfer.web.action.TransferAction
53115011861912527 [Param: command = transferred]

2007.08.22-00:29:49 TRACE com.abc.transfer.web.action.TransferAction
53172011877425870 [In transferred().]
2007.08.22-00:29:49 TRACE com.abc.transfer.web.action.TransferAction
53172011877425870 [In transferred().]

I have attached the 2 log4j.properties below:

http://www.nabble.com/file/p14622776/startup-log4j.properties
startup-log4j.properties 
http://www.nabble.com/file/p14622776/webapp-log4j.properties
webapp-log4j.properties 

Thanks,
James
-- 
View this message in context: http://www.nabble.com/Missing-or-duplicate-logging-entries-using-log4j-tp14589237p14622776.html
Sent from the Log4j - Users mailing list archive at Nabble.com.


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


Mime
View raw message