[ 
https://issues.apache.org/jira/browse/SOLR-10415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16070195#comment-16070195
 ] 

Michael Braun commented on SOLR-10415:
--------------------------------------

Breaking this up into sub-tickets with patches to make this easier - see 
[SOLR-10985]

> Within solr-core, debug/trace level logging should use parameterized log 
> messages
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-10415
>                 URL: https://issues.apache.org/jira/browse/SOLR-10415
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Michael Braun
>            Priority: Trivial
>
> Noticed in several samplings of an active Solr that several debug statements 
> were taking decently measurable time because of the time of the .toString 
> even when the log.debug() statement would not output because it was 
> effectively INFO or higher. Using parameterized logging statements, ie 
> 'log.debug("Blah {}", o)' will avoid incurring that cost.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to