1 Reply Latest reply on May 14, 2009 4:58 AM by jaikiran pai

    jboss issue 4.2.2

    sun kum Newbie


      every time my server logs are lost whenever I kill the jboss instance , any tips to remain log intact whenever thr is jboss killing or restarting

        • 1. Re: jboss issue 4.2.2
          jaikiran pai Master

          I guess, you mean the server.log file contents. That file is handled through log4j configurations. You can set the Append property on the FILE appender in %JBOSS_HOME%/server/< serverName>/conf/jboss-log4j.xml to true:

          <!-- A time/date based rolling appender -->
           <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="true"/>