You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2015/12/15 21:57:47 UTC

[jira] [Resolved] (MYFACES-2932) More error logging when Bean Validation throws an exception at startup

     [ https://issues.apache.org/jira/browse/MYFACES-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Andraschko resolved MYFACES-2932.
----------------------------------------
    Resolution: Won't Fix

Please check our issue closing policy: http://myfaces.apache.org/wiki/core/committer-and-pmc-guide/myfaces-project-management.html
If the is issue is still important for you, please reopen and attach a patch.

> More error logging when Bean Validation throws an exception at startup
> ----------------------------------------------------------------------
>
>                 Key: MYFACES-2932
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2932
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.2
>         Environment: Any
>            Reporter: Jan-Kees van Andel
>
> When the Bean Validation implementation fails to startup, for example because it is misconfigured by the developer, or because of some dependency issue (missing slf4j jar or something), the Bean Validator automatically turns itself off.
> The error is logged as "fine", because in many cases the developer doesn't care about this behavior. For example, if bean validation api is provided, but impl is not. In these cases, logging an error is not desirable.
> But maybe this should be increased to "info", to ease debugging in the cases where the developer is interested in why bean validation fails to startup.
> I guess we change the logging to "info", especially because the block of code is guarded by a Class.forName() check, which takes care of the obvious case that Bean Validation is unavailable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)