<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
  <appender name="file" class="org.apache.log4j.RollingFileAppender"> 
    <param name="file" value="logs/load-balancer.log"/>
    <param name="MaxFileSize" value="2000KB"/>
    <!-- Keep one backup file -->
    <param name="MaxBackupIndex" value="20"/>
    <layout class="org.apache.log4j.PatternLayout"> 
      <param name="ConversionPattern" value="%d %p %t %l - %m%n"/> 
    </layout> 
  </appender>
  
  <appender name="console" class="org.apache.log4j.ConsoleAppender"> 
    <param name="Target" value="System.out"/> 
    <layout class="org.apache.log4j.PatternLayout"> 
      <param name="ConversionPattern" value="%d %p %t - %m%n"/> 
    </layout> 
  </appender> 

<category name="org.mobicents">
     <priority value="WARN" />
   </category>
   <category name="gov.nist">
     <priority value="WARN" />
   </category>

  <root> 
    <priority value ="WARN" />     
    <appender-ref ref="console" />
    <appender-ref ref="file" />
  </root>   
</log4j:configuration>

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
  <appender name="file" class="org.apache.log4j.RollingFileAppender"> 
    <param name="file" value="/opt/loadbalancer/logs/load-balancer.log"/>
    <param name="MaxFileSize" value="2000KB"/>
    <!-- Keep one backup file -->
    <param name="MaxBackupIndex" value="20"/>
    <layout class="org.apache.log4j.PatternLayout"> 
      <param name="ConversionPattern" value="%d %p %t %l - %m%n"/> 
    </layout> 
  </appender>
  
  <appender name="console" class="org.apache.log4j.ConsoleAppender"> 
    <param name="Target" value="System.out"/> 
    <layout class="org.apache.log4j.PatternLayout"> 
      <param name="ConversionPattern" value="%d %p %t - %m%n"/> 
    </layout> 
  </appender> 

<category name="org.mobicents">
     <priority value="WARN" />
   </category>
   <category name="gov.nist">
     <priority value="WARN" />
   </category>

  <root> 
    <priority value ="WARN" />     
    <appender-ref ref="console" />
    <appender-ref ref="file" />
  </root>   
</log4j:configuration>

Fix log file for LB.
Fix log file for LB.
