6 Replies Latest reply on Feb 17, 2012 9:56 AM by Gonne Martens

    JBoss7 Logging Filter

    Gonne Martens Novice



      I would like to suppress some log messages, but I had no luck trying to use the jboss logging filter.



      <subsystem xmlns="urn:jboss:domain:logging:1.1">

                  <console-handler name="CONSOLE">

                      <level name="INFO"/>



                              <match pattern="Wait"/>




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







      I get the following error message and no more log messages appear on the console:




      18:05:17,667 ERROR [org.jboss.as.controller.management-operation] Operation ("add") failed - address: ([

          ("subsystem" => "logging"),

          ("console-handler" => "CONSOLE")

      ]) - failure description: "JBAS014746: pattern may not be null"



      Kind regards,