Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-955

If a class is ignored due to classloading problems the log level shouldn't be debug

    Details

      Description

      In BeanDeployer:99, if a class has classloading problems and is ignored, information about that is logged with the "debug" level, which by default isn't visible in any AS7 logs.

      I found this after a long search why some of my beans stopped being visible (when migrating to AS7 the app must now bundle slf4j), and I think it would be much more user-friendly if this was logged at least with an info.

        Gliffy Diagrams

          Activity

          Hide
          alesj Ales Justin added a comment -

          I guess some code moved, and you're referring to line #79 now?

          Show
          alesj Ales Justin added a comment - I guess some code moved, and you're referring to line #79 now?
          Hide
          adamw Adam Warski added a comment -

          Looking at 1.1.2 Final the line is:

          log.debug(IGNORING_CLASS_DUE_TO_LOADING_ERROR, className);

          In master this is now line 88.

          Show
          adamw Adam Warski added a comment - Looking at 1.1.2 Final the line is: log.debug(IGNORING_CLASS_DUE_TO_LOADING_ERROR, className); In master this is now line 88.

            People

            • Assignee:
              alesj Ales Justin
              Reporter:
              adamw Adam Warski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development