[
https://issues.apache.org/jira/browse/SLING-2714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562587#comment-13562587
]
Oliver Lietz commented on SLING-2714:
-------------------------------------
supported since 1.5.3
here are some more static loggers (find . -name "*.java" -exec grep -q "static
Logger" '{}' \; -print):
./bundles/auth/core/src/main/java/org/apache/sling/auth/core/AuthUtil.java
./bundles/jcr/jackrabbit-base/src/main/java/org/apache/sling/jcr/jackrabbit/base/security/DelegatingLoginModule.java
./bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrModifiableValueMap.java
./bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrPropertyMap.java
./contrib/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/I18NFilter.java
./contrib/extensions/rewriter/src/main/java/org/apache/sling/rewriter/impl/PipelineImpl.java
> Wrap LOGGER.debug calls in ResourceProviderEntry
> ------------------------------------------------
>
> Key: SLING-2714
> URL: https://issues.apache.org/jira/browse/SLING-2714
> Project: Sling
> Issue Type: Improvement
> Components: ResourceResolver
> Affects Versions: Resource Resolver 1.0.2
> Reporter: Alexander Muthmann
> Assignee: Carsten Ziegeler
> Fix For: Resource Resolver 1.0.4
>
> Attachments: SLING-2714.diff
>
>
> In ResourceProviderEntry.java there are multiple LOGGER.debug calls which
> access Arrays.toString(). This causes the Arrays.toString() call to be
> executed no matter which Logger-Level is set.
> Those calls should be wrapped in a LOGGER.isDebugEnabled().
--
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