Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1323

Log extension module loading errors other than ModuleNotFoundException at ERROR

    Details

      Description

      ExtensionAddHandler is converting all ModuleLoadExceptions to OFE, which means they only get logged at DEBUG post-boot.

      This can be more precise – a ModuleNotFoundException is likely a user error (wrong module name) and thus should get the current treatment. But other ModuleLoadExceptions likely indicate some issue with the server installation and deserve ERROR level logging. Solution is to wrap those in a RuntimeException instead of an OFE.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: