6 Replies Latest reply on Aug 25, 2015 6:17 AM by Angelo Gülle

    Logging with Wildfly 9.0.1 Final

    Angelo Gülle Newbie

      Hi Folks,

       

      We just moved from JBoss 7.1.1 to Wildfly 9.0.1 Final.

       

      We use a special logging configuration that peridodically logs output from a special class. I tried to get the same configuration working in Wildfly but somehow it does not work. I am wondering if the configuration might have changed as the logging system now has the namespace:

       

      urn:jboss:domain:logging:3.0

       

      Here is the snippet from the standalone.xml:

       

      <logger category="de.kairos.centraxx.model.service.xmlimport.impl.XmlImportFileWatcherService" use-parent-handlers="false">

        <level name="DEBUG"/>

        <handlers>

           <handler name="GTDSLOG"/>

        </handlers>

      </logger>

      <periodic-rotating-file-handler name="GTDSLOG">

        <level name="DEBUG"/>

        <formatter>

         <named-formatter name="MY-PATTERN"/>

        </formatter>

        <file path="C:\centraxx-home\logs\GTDSInterface.log"/>

        <suffix value=".yyyy-MM-dd"/>

        <append value="true"/>

      </periodic-rotating-file-handler>

      <formatter name="MY-PATTERN">

         <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

      </formatter>

       

      Unfortunately logs like the following still go to wildfly-stdout.log

       

      2015-08-19 09:31:18.949 MESZ [Thread-89      ]     ERROR [XmlImportFileWatcherService] [] - Exception during validation or import: