[ 
https://issues.apache.org/jira/browse/MYFACES-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681594#comment-17681594
 ] 

Thomas Andraschko commented on MYFACES-4554:
--------------------------------------------

yeah, GOOD logging is not easy as you also need to take care of ProjectStages
in this case, its not related to project-stages and may be a important log
so finest is not good i think

we can sure make better messages for such a case or even write a article about 
this feature but lets see

> PropertyDescriptorUtils logs an INFO message, this should be a FINEST message.
> ------------------------------------------------------------------------------
>
>                 Key: MYFACES-4554
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4554
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.3-next-M7, 4.0.0-RC4
>            Reporter: Paul Nicolucci
>            Assignee: Paul Nicolucci
>            Priority: Trivial
>
> The following INFO message can be seen in the logs when MyFaces reverts back 
> to using PropertyDescriptors:
>  
> {code:java}
>             catch (IllegalAccessException e)
>             {
>                 LOG.log(Level.FINEST,
>                         "Could not generate LambdaPropertyDescriptor for "
>                                 + target.getName() + ". Use 
> PropertyDescriptor...");
>             }
>             catch (Throwable e)
>             {
>                 LOG.log(Level.INFO,
>                         "Could not generate LambdaPropertyDescriptor for "
>                                 + target.getName() + ". Use 
> PropertyDescriptor...",
>                         e);
>             }
> {code}
> There is nothing for a user to do about using PropertyDescriptors in this 
> case. I argue that this should be a FINEST message instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to