<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 2.0cm 70.85pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.E-MailFormatvorlage17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
OL {
MARGIN-BOTTOM: 0cm
}
UL {
MARGIN-BOTTOM: 0cm
}
</STYLE>
</HEAD>
<BODY lang=DE vLink=purple link=blue>
<P><FONT face=Arial size=2><SPAN class=140123008-30032006>Yes,
sorry</SPAN></FONT></P>
<P><FONT face=Arial size=2><SPAN class=140123008-30032006>The package filter is
org.opencms</SPAN></FONT></P>
<P><FONT face=Arial size=2></FONT> </P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Mensaje original-----<BR><B>De:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org]<B>En
nombre de </B>Jonathan Woods<BR><B>Enviado el:</B> miércoles, 29 de marzo de
2006 20:47<BR><B>Para:</B> 'The OpenCms mailing list'<BR><B>Asunto:</B> RE:
[opencms] [opencms-dev] OpenCms Logging Configuration with
JBoss<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=571024719-29032006><FONT face=Arial
color=#0000ff size=2>I guess you meant org.opencms (for the non-legacy
stuff).</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Jorge
Gonzalez<BR><B>Sent:</B> 29 March 2006 20:23<BR><B>To:</B> 'The OpenCms
mailing list'<BR><B>Subject:</B> RE: [opencms] [opencms-dev] OpenCms Logging
Configuration with JBoss<BR></FONT><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT
size=2><SPAN class=140512119-29032006><FONT face=Arial color=#0000ff>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.</FONT></SPAN></FONT></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT
size=2><SPAN class=140512119-29032006></SPAN></FONT></FONT> </DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT
size=2><SPAN class=140512119-29032006></SPAN></FONT></FONT> </DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT
size=2><SPAN class=140512119-29032006> </SPAN>-----Mensaje
original-----<BR><B>De:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org]<B>En nombre de </B>Wichan
Threamthrakanpon<BR><B>Enviado el:</B> miércoles, 29 de marzo de 2006
16:10<BR><B>Para:</B> opencms-dev@opencms.org<BR><B>Asunto:</B> [opencms]
[opencms-dev] OpenCms Logging Configuration with
JBoss<BR><BR></DIV></FONT></FONT>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My question is
...<o:p></o:p></SPAN></FONT></P>
<OL style="MARGIN-TOP: 0cm" type=1>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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)?<o:p></o:p></SPAN></FONT>
</LI></OL>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<OL style="MARGIN-TOP: 0cm" type=1 start=2>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT> </LI></OL>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<OL style="MARGIN-TOP: 0cm" type=1 start=3>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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)?<o:p></o:p></SPAN></FONT> </LI></OL>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Wichan<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>