Hi All,
I am trying to set up a logger for my web application. I have Jboss 4.0.4 
installed on my machine. I am using 'default' configuration of the JBoss 
server. I have added the follwoing code in my log4j.xml placed at 
/server/default/conf folder.


  |    <appender name="WIMAX_LOGS" 
class="org.apache.log4j.DailyRollingFileAppender">
  |     <param name="File" value="${jboss.server.home.dir}/log/ppas.log" />
  |     <param name="Append" value="true" />
  |     
  |     <layout class="org.apache.log4j.PatternLayout">
  |             <param name="ConversionPattern" value="[%5p] %d{dd MMM 
HH:mm:ss,SSS} - %m%n" />
  |     </layout>
  |    </appender>
  | 
  |         <category name="ppaslogs" additivity="false">
  |             <priority value="INFO" />
  |             <appender-ref ref="WIMAX_LOGS" />
  |      </category>
  | 

After doing this, i restarted the Jboss server and deployed my application on 
Jboss. When i run my application, the log file gets created but no messages are 
written to it. However all those messages appear in the 'server.log' frile of 
the Jboss. 
Can someone tell that what could be the reason for this??

Thanks & Regards
Inder Jeet Singh

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065714#4065714

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065714
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to