Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5337

One new WARN being logged about security extension being deprecated

XMLWordPrintable

      After the following commit

      https://github.com/wildfly/wildfly/commit/4319a04fd7c9719d9a0d98d810b2b2278172020c#diff-674f0dbb9b6eb5b35119b7ccc78581ce7a9062e722dbe06599bb0fb1a7b831ba

      WFLYCTL33 is being logged when starting the server with configurations that include the extension, e.g.: standalone.xml.
      The issue is present in WildFly 23.0.0.Final:

      =========================================================================
      
      16:10:55,372 INFO  [org.jboss.modules] (main) JBoss Modules version 1.11.0.Final
      16:10:55,747 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.12.Final
      16:10:55,753 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final
      16:10:55,851 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 23.0.0.Final (WildFly Core 15.0.0.Final) starting
      16:10:56,554 INFO  [org.wildfly.security] (ServerService Thread Pool -- 28) ELY00001: WildFly Elytron version 1.15.1.Final
      16:10:56,851 WARN  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 32) WFLYCTL0033: Extension 'security' is deprecated and may not be supported in future versions
      16:10:57,127 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      
      

      As can be seen from the log, there's another similar message for a deprecated attribute, but that is treated as an INFO rather than a WARN.

      Following the discussion in the correspondent JBEAP issue, this issue is for reducing the log level for this message to INFO, see https://github.com/wildfly/wildfly-core/blob/15.0.0.Final/controller/src/main/java/org/jboss/as/controller/logging/ControllerLogger.java#L447

              yborgess1@redhat.com Yeray Borges Santana
              fburzigo Fabio Burzigotti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: