[
https://issues.apache.org/jira/browse/MYFACES-3235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070672#comment-13070672
]
Martin Kočí edited comment on MYFACES-3235 at 7/25/11 6:47 PM:
---------------------------------------------------------------
New logger names are logic names, the purpose is to have one logger for
logically related logs. Examples:
problem with ViewExpired (very common problem) -> "please turn on FINE level
for state saving".
Now:
org.apache.myfaces.shared_impl.util.StateUtils.level=FINE
org.apache.myfaces.application.StateManagerImpl.level=FINE
org.apache.myfaces.renderkit.html.HtmlResponseStateManager.level=FINE
org.apache.myfaces.renderkit.ServerSideStateCacheImpl.level=FINE
After:
org.apache.myfaces.application.statemanagement=FINE
problem when converting -> "please turn on FINE level for conversion".
Now:
org.apache.myfaces.shared_impl.renderkit.RendererUtils.level=FINE
org.apache.myfaces.view.facelets.tag.jsf.ConverterTagHandlerDelegate.level=FINE
javax.faces.component._SharedRendererUtils=FINE
After:
org.apache.myfaces.convert=FINE
Logging is for ordinary user. We - myfaces experts ;) - can use debbuger to
locate problem. Regular user have not time for experimenting with logger names
level - malnly because many of current loggers are from myfaces-impl; please
notice that if we move/rename some internal class we change the logger name
already.
After this change, we are able to locate real place - with unique code of log.
was (Author: markoc50):
New logger names are logic names, the purpose is to have one logger for
logically related logs. Examples:
problem with ViewExpired (very common problem) -> "please turn on FINE level
for state saving".
Now:
org.apache.myfaces.shared_impl.util.StateUtils.level=FINE
org.apache.myfaces.application.StateManagerImpl.level=FINE
org.apache.myfaces.renderkit.html.HtmlResponseStateManager.level=FINE
After:
org.apache.myfaces.application.statemanagement=FINE
problem when converting -> "please turn on FINE level for conversion".
Now:
org.apache.myfaces.shared_impl.renderkit.RendererUtils.level=FINE
org.apache.myfaces.view.facelets.tag.jsf.ConverterTagHandlerDelegate.level=FINE
javax.faces.component._SharedRendererUtils=FINE
After:
org.apache.myfaces.convert=FINE
Logging is for ordinary user. We - myfaces experts ;) - can use debbuger to
locate problem. Regular user have not time for experimenting with logger names
level - malnly because many of current loggers are from myfaces-impl; please
notice that if we move/rename some internal class we change the logger name
already.
After this change, we are able to locate real place - with unique code of log.
> 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