Hi all.
I'm trying to use Log4j with
Jboss.
I read that log4j.xml properties file must be in server/all/conf, so I put it there. Now I have a couple of questios:
- do I have to add a line like this (DOMConfigurator.configure("log4j.xml")

in my program?
-where does it place the log file?
-is this log4j.xml file correct?:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="appender" class="org.apache.log4j.FileAppender">
<param name="File" value="salida.log"/>
<param name="Append" value="false"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %p - %m%n"/>
</layout>
</appender>
<root>
<priority value ="debug"/>
<appender-ref ref="appender"/>
</root>
</log4j:configuration>
Thanks in advance
Regards from Spain