1 Reply Latest reply on Oct 25, 2013 1:49 AM by Tomas Remes

    How to change jboss server logging?

    David Sexton Newbie

      How do i change loggin in JBoss so it logs the date in the server.log file?

        • 1. Re: How to change jboss server logging?
          Tomas Remes Expert

          You need to change pattern-formatter value in logging subsystem in your standalone configuration. E.g.

           

          <periodic-rotating-file-handler name="FILE" autoflush="true">
                  <formatter>
                      <pattern-formatter pattern="%d{dd.MM - HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
                  </formatter>
                  <file relative-to="jboss.server.log.dir" path="server.log"/>
                  <suffix value=".yyyy-MM-dd"/>
                  <append value="true"/>
          </periodic-rotating-file-handler>