David Mollitor created HIVE-23193:
-------------------------------------

             Summary: Review of Subset of Debug Logging
                 Key: HIVE-23193
                 URL: https://issues.apache.org/jira/browse/HIVE-23193
             Project: Hive
          Issue Type: Improvement
            Reporter: David Mollitor
            Assignee: David Mollitor


bq. Better yet, use parameterized messages
bq.  Will outperform the first form by a factor of at least 30, in case of a 
disabled logging statement.

http://www.slf4j.org/faq.html

* Use parameterized logging where appropriate
* Add logging guards {{if (Log.isDebugEnabled()}} around loops and complex 
debug message

Simplify the code, remove lines of code, and potentially increase performance



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to