Mike Dunker created USERGRID-1243:
-------------------------------------

             Summary: 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


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)

Reply via email to