[
https://issues.apache.org/jira/browse/USERGRID-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Dunker reassigned USERGRID-1243:
-------------------------------------
Assignee: Mike Dunker
> Replace logging string concatenation with formatting
> ----------------------------------------------------
>
> Key: USERGRID-1243
> URL: https://issues.apache.org/jira/browse/USERGRID-1243
> Project: Usergrid
> Issue Type: Story
> Reporter: Mike Dunker
> Assignee: Mike Dunker
>
> Concatenating strings when logging creates temporary strings that can have a
> negative effect on GC. Instead, log4j's string formatting functionality
> should be used.
> Example:
> Replace
> logger.info("Invalid property value. name = " + name + ", value = " + value);
> with
> logger.info("Invalid property value. name = {}, value = {}", name, value);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)