[opencms-dev] OpenCms Logging Configuration with JBoss

Wichan Threamthrakanpon wichan at codecentric.de
Wed Mar 29 17:10:24 CEST 2006


Hello,

 

recently I've 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. It's always empty!!!
Despite, I've been using the default log4j.properties. On the other hand,
everything is written into the JBoss's 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 jboss's logging message will be
written into server.log (JBoss's log file)?

 

2.	It's seemed that the OpenCms's log4j.properties is never been read,
because in OpenCms log4j.properties
log4j.logger.org.opencms.workplace.tools=WARN, but DEBUG messages are always
in JBoss's 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/1890abb6/attachment.htm>


More information about the opencms-dev mailing list