Hi,
I am new to JBoss and was trying to get File Logging to work. I'm
using the 2.0 version.
Even though the file is created in the jboss/log directory, nothing actually
gets logged there. Is there something that i have to do that i don't know
about.
jboss.conf entry
<MLET CODE = "org.jboss.logging.FileLogging" ARCHIVE="jboss.jar"
CODEBASE="../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="Information,Debug,Warning,Error">
<ARG TYPE="java.lang.String" VALUE="[{2}] {4}">
<ARG TYPE="java.lang.String" VALUE="">
<ARG TYPE="java.lang.String" VALUE="FileName">
</MLET>
jboss.jcml entry
<mbean name="DefaultDomain:service=Logging,type=File">
<attribute name="LogName">FileName</attribute>
</mbean>
Regards,
Manmeet
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]