[weld-issues] [JBoss JIRA] (WELD-955) If a class is ignored due to classloading problems the log level shouldn't be debug

Adam Warski (Commented) (JIRA) jira-events at lists.jboss.org
Mon Oct 31 10:55:45 EDT 2011


    [ https://issues.jboss.org/browse/WELD-955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638551#comment-12638551 ] 

Adam Warski commented on WELD-955:
----------------------------------

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.
                
> If a class is ignored due to classloading problems the log level shouldn't be debug
> -----------------------------------------------------------------------------------
>
>                 Key: WELD-955
>                 URL: https://issues.jboss.org/browse/WELD-955
>             Project: Weld
>          Issue Type: Enhancement
>          Components: Bootstrap and Metamodel API
>    Affects Versions: 1.1.2.Final
>            Reporter: Adam Warski
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list