myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Issue Comment Edited] (MYFACES-3235) Create infrastructure for improved logging
Date Mon, 25 Jul 2011 19:52:09 GMT

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

Mark Struberg edited comment on MYFACES-3235 at 7/25/11 7:51 PM:
-----------------------------------------------------------------

+1. Logging cannot replace a debugging session. Please do not add too much logger.debug info!
Especially not in ELResolvers and stuff which gets called millions of itmes per second!
Most people seems not to be aware that even a logger.isDebugEnabled() is already pretty expensive
compared to the tasks which get executed sometimes!

An example: we had such a logger in OWBs Interceptor stack and after kicking it out, our total
performance was more then twice as good!

      was (Author: struberg):
    +1. Logging cannot replace a debugging session. Please do not add too much debug info!
Especially not in ELResolvers and stuff which gets called millions of itmes per second!
Most people seems not to be aware that even a logger.isDebugEnabled() is already pretty expensive
compared to the tasks which get executed sometimes!

An example: we had such a logger in OWBs Interceptor stack and after kicking it out, our total
performance was more then twice as good!
  
> 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

       

Mime
View raw message