[jboss-user] [Beginner's Corner] - Re: server.log issue

Y D Prakash do-not-reply at jboss.com
Fri Sep 28 01:02:28 EDT 2012


Y D Prakash [https://community.jboss.org/people/dprakash] created the discussion

"Re: server.log issue"

To view the discussion, visit: https://community.jboss.org/message/762094#762094

--------------------------------------------------------------
Check with this configuration.

<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
      <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
      <param name="File" value="${jboss.server.log.dir}/server.log"/>
      <param name="Append" value="false"/>
      <param name="Threshold" value="${jboss.server.log.threshold}"/>
            <!-- Rollover at midnight each day -->
      <param name="DatePattern" value="'.'yyyy-MM-dd"/>
            <!-- 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] (Thread) Message\n -->
         <param name="ConversionPattern" value="%d %-5p [%c] (%t) %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>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/762094#762094]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120928/ac57f1d5/attachment.html 


More information about the jboss-user mailing list