[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss-log4j.xml configuration

vinayarammohan@yahoo.com do-not-reply at jboss.com
Mon Jun 8 10:54:17 EDT 2009


Hi Peter, 
I have the file in 
jboss_home/servers/default/config, my app is in default folder.

My Xml is 


  |    <appender name="FILE" class="org.apache.log4j.FileAppender">
  |       <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
  |       <param name="File" value="C:/jboss-4.2.2.GA/server/default/log/server.log"/>
  |       <param name="Append" value="false"/>
  | 	  <param name="Threshold" value="DEBUG"/>
  | 	  <param name="Encoding" value="UTF-8"/>
  |       <!-- Rollover at midnight each day -->
  |      
  |       <!-- Rollover at the top of each hour
  |       <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
  |       -->
  | 
  |       <layout class="org.apache.log4j.PatternLayout">
  |          <!-- The default pattern: Date Priority [Category] Message\n -->
  |          <param name="ConversionPattern" value="%d [%X{username}] %-5p [%c] %m%n"/>
  | 
  |          <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
  |          <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
  |           -->
  |       </layout>
  |    </appender>
  | 

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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236094



More information about the jboss-user mailing list