[opencms-dev] Logging in 5.5.x

Tristan Tarrant ttarrant at etnoteam.it
Fri Sep 10 17:12:52 CEST 2004


Hi OpenCMS devs,

I've noticed a problem with the way OpenCMS 5.5.x sets up Log4J logging:
it sets the system property "log4j.configuration" which means the
setting is global for the entire JVM. In a appserver with multiple
applications, they all start logging in opencms.log. My recommendation
is to remove the log4j configuration from opencms.properties and into
WEB-INF/classes/log4j.xml and remove the explicit system property
setting from org.opencms.main.CmsLog.

Any thoughts ?

Tristan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040910/2c689c83/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2121 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040910/2c689c83/attachment.bin>


More information about the opencms-dev mailing list