[opencms] [opencms-dev] OpenCms Logging Configuration with JBoss
Jonathan Woods
jonathan.woods at scintillance.com
Wed Mar 29 21:47:27 CEST 2006
I guess you meant org.opencms (for the non-legacy stuff).
_____
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jorge Gonzalez
Sent: 29 March 2006 20:23
To: 'The OpenCms mailing list'
Subject: RE: [opencms] [opencms-dev] OpenCms Logging Configuration with
JBoss
I've used the jboss log4j.xml file only. There you can define a separate
file logger (rolling with limited size IS recommended) for com.opencms
packages.
-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]En nombre de Wichan Threamthrakanpon
Enviado el: miércoles, 29 de marzo de 2006 16:10
Para: opencms-dev at opencms.org
Asunto: [opencms] [opencms-dev] OpenCms Logging Configuration with JBoss
Hello,
recently Ive been working with OpenCms project. The OpenCms system works
fine till now. This week I am responsible for setting up Logging Mechanism
for OpenCms.
My system environment consists of JBoss 4.0.3 SP1, OpenCms 6.0.3 and Eclipse
3.1.1. I have to configure the logging so that the log files are separated
for JBoss log and OpenCms log.
Right now, my opencms.log has never been written. Its always empty!!!
Despite, Ive been using the default log4j.properties. On the other hand,
everything is written into the JBosss log file.
My question is
1. Is there any way to config the logging so that logging message from
opencms will be written into opencms.log and jbosss logging message will be
written into server.log (JBosss log file)?
2. Its seemed that the OpenCmss log4j.properties is never been read,
because in OpenCms log4j.properties
log4j.logger.org.opencms.workplace.tools=WARN, but DEBUG messages are always
in JBosss log file. Does JBoss just ignore opencms logging configuration
and just write all logging message into the log file.
3. I used Eclipse as an IDE. Is there any way to configure my Eclipse
console to display only log message from OpenCms (right now it display only
logging message from JBoss which basically includes logging message from
OpenCms)?
Regards,
Wichan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060329/97b2b154/attachment.htm>
More information about the opencms-dev
mailing list