Hi,
Recently shifted from openfire3.6.4 to 3.8.1.
i understabd that the logging configuration has changed and that now log4j is in /lib/ folder.
For my plugins, i have configured the log4j.xml with required appenders for each of the plugin.
Problem: log statements are written into all log files. E.g. say for plugins P1 & P2
<appender name = "P1debug" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="${openfirehome}/logs/P1debug.log"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="...."/>
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="Levelmax" value="debug"/>
</filter>
</appender>
<appender name = "P2debug" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="${openfirehome}/logs/P2debug.log"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="...."/>
</layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="Levelmax" value="debug"/>
</filter>
</appender>
now debug statements for both P1 & P2 are being written to P1debug.log & P2debug.log.
Any help on how to cause log4j to write log into respective files alone.
Thanks in advance