You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Francesco Mari (JIRA)" <ji...@apache.org> on 2018/11/02 13:14:00 UTC
[jira] [Resolved] (OAK-7877) Avoid unnecessary operations when
logging read operations
[ https://issues.apache.org/jira/browse/OAK-7877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Mari resolved OAK-7877.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.9.11
Fixed at r1845584.
> Avoid unnecessary operations when logging read operations
> ---------------------------------------------------------
>
> Key: OAK-7877
> URL: https://issues.apache.org/jira/browse/OAK-7877
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Priority: Major
> Fix For: 1.10, 1.9.11
>
> Attachments: OAK-7877-01.patch
>
>
> The log statements introduced in {{CachingSegmentReader}} by OAK-7864 perform multiple string concatenations even if that specific log is disabled. The log statements should be executed only if the right log level has been enabled for that logger.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)