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

Martin Kočí commented on MYFACES-3235:
--------------------------------------

hmm, I'm  probably describing it badly, so:

1) performace: perfomance is top priority for me (do you have views with more 
then 20 000 components (yes, in ONE facelts view) and with hundreds concurrent 
users as we do?) . I will not add any new logger.log. I've already found many 
places where logging is performance bottleneck and unnecessary (like entering 
and exiting method) -  will discuss then next month. Provided example for state 
saving (ViewExpired) are existing usages of logger.log!

2) logging x debugging - yes, I 100% agree, logging cannot replace a debugging 
session. But logging can help solve some problem - otherwise what does it? In 
others words, logging has its purpose and this issue about improving current 
logging. Again, the example with ViewExpiredException  - very common problem 
(just google it); regular user have no chance to solve it even with debbuger - 
state saving code  is too complex. Simple logging of what was saved and for 
which view can help solve this problem.

3) logger names "is not maintainable you have to decide which logger name is 
the right one", yes, I understand your point, but is is worse maintainable for 
us = myfaces coders. For myfaces user (that set is more bigger than myfaces 
coders set I hope) is already unmaintainable: logger names are for internal 
classes, can change without warning and again the example  with ViewExpired - 4 
different loggers for same subsystem

> Create infrastructure for improved logging 
> -------------------------------------------
>
>                 Key: MYFACES-3235
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3235
>             Project: MyFaces Core
>          Issue Type: Sub-task
>          Components: General
>            Reporter: Martin Kočí
>            Assignee: Martin Kočí
>            Priority: Minor
>         Attachments: MYFACES-3235.patch
>
>
> Create classes like MyfacesLogger, MyfacesLogRecord etc. like Trinidad has.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to