0 Replies Latest reply on May 16, 2014 5:15 AM by Robert Niestroj

    Crystal Reports setting Wildfly logging level do DEBUG

    Robert Niestroj Newbie

      I have a webapplication which uses Crystal Reports. We migrated the app from JBOSS AS 6.1 to Wildlfy 8. Crystal Reports jar's are added as a JBOSS Module or as <scope>compile</scope> I've tried both and the problem remains the same.

      As long as i use the whole application without reports logging works as expected. But when i execute a report suddenly the logging level of wildfly logging to FILE is set to debug or something like this. Everything is logging to FILE as detailed as possible:Wicket, Spring, Hibernate logging at DEBUG level. Logging to console remains unaffected.


      Is it even possible that the web application can change in runtime the logging level? What to look for to prevent this change?


      My logging configuration is not modified when compared to the original standalone.xml file.


          <subsystem xmlns="urn:jboss:domain:logging:2.0">
              <console-handler name="CONSOLE">
                  <level name="INFO"/>
                  <formatter>
                      <named-formatter name="COLOR-PATTERN"/>
                  </formatter>
              </console-handler>
              <periodic-rotating-file-handler name="FILE" autoflush="true">
                  <formatter>
                      <named-formatter name="PATTERN"/>
                  </formatter>
                  <file relative-to="jboss.server.log.dir" path="server.log"/>
                  <suffix value=".yyyy-MM-dd"/>
                  <append value="true"/>
              </periodic-rotating-file-handler>
              <logger category="com.arjuna">
                  <level name="WARN"/>
              </logger>
              <logger category="org.apache.tomcat.util.modeler">
                  <level name="WARN"/>
              </logger>
              <logger category="org.jboss.as.config">
                  <level name="DEBUG"/>
              </logger>
              <logger category="sun.rmi">
                  <level name="WARN"/>
              </logger>
              <logger category="jacorb">
                  <level name="WARN"/>
              </logger>
              <logger category="jacorb.config">
                  <level name="ERROR"/>
              </logger>
              <root-logger>
                  <level name="INFO"/>
                  <handlers>
                      <handler name="CONSOLE"/>
                      <handler name="FILE"/>
                  </handlers>
              </root-logger>
              <formatter name="PATTERN">
                  <pattern-formatter pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
              </formatter>
              <formatter name="COLOR-PATTERN">
                  <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
              </formatter>
          </subsystem>