You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/05/05 23:18:16 UTC
[jira] [Commented] (BEANUTILS-439) Save Logger in static filed in
MethodUtils instead of requesting it on every method invocation
[ https://issues.apache.org/jira/browse/BEANUTILS-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649432#comment-13649432 ]
Sebb commented on BEANUTILS-439:
--------------------------------
AIUI, using a static logger may cause problems in some environments.
Maybe the logger could be cached instead?
> Save Logger in static filed in MethodUtils instead of requesting it on every method invocation
> ----------------------------------------------------------------------------------------------
>
> Key: BEANUTILS-439
> URL: https://issues.apache.org/jira/browse/BEANUTILS-439
> Project: Commons BeanUtils
> Issue Type: Improvement
> Components: Bean / Property Utils
> Affects Versions: 1.8.3
> Reporter: Benedikt Ritter
> Assignee: Benedikt Ritter
> Labels: logging, performance
> Fix For: 1.8.4
>
>
> It was proposed on the ML to create a static field reference to the Logger in MethodUtils, because requesting it on every method invocation leads to bad performance (see http://markmail.org/message/ysurofedfoikdguu).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira