Doubt using log4j

Hi there,I'm using jboss3.2.5 to access my java applications. I would like to make a different log directory to each application. Is this possible using log4j ? (i've never tried it)If so, how do i set the log4j properties for each application to use ?Thanks,
[296 byte] By [Kalorik9a] at [2007-11-26 18:35:58]
# 1
why not have a different properties file for each application?
filestreama at 2007-7-9 6:10:02 > top of Java-index,Java Essentials,Java Programming...
# 2

Have you tried setting the file parameter to point to a different location?

<appender name="myAppender" class="org.apache.log4j.DailyRollingFileAppender">

<param name="DatePattern"value="yyyy-MM-dd"/>

<param name="File"value="./logs/myLogName.log" />

<param name="Append" value="false" />

<layout class="org.apache.log4j.PatternLayout">

<param name="ConversionPattern" value="%-5p : %d{yyyy/MM/dd : HH:mm:ss} : %l : %x : %m%n"/>

</layout>

</appender>

patrickmallettea at 2007-7-9 6:10:02 > top of Java-index,Java Essentials,Java Programming...
# 3
Hi there,I've already tried that approach ... one property file for each application ... but couldn't make it work ... I'll give it another try ... thanks ...
Kalorik9a at 2007-7-9 6:10:02 > top of Java-index,Java Essentials,Java Programming...