hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [hadoop] swagle opened a new pull request #1633: HDDS-2266. Avoid evaluation of LOG.trace and LOG.debug statement in the read/write path.
Date Wed, 09 Oct 2019 23:00:54 GMT
swagle opened a new pull request #1633: HDDS-2266. Avoid evaluation of LOG.trace and LOG.debug
statement in the read/write path.
URL: https://github.com/apache/hadoop/pull/1633
 
 
   LOG.trace and LOG.debug with logging information will be evaluated even when debug/trace
logging is disabled. This jira proposes to wrap all the trace/debug logging with
   LOG.isDebugEnabled and LOG.isTraceEnabled to prevent the logging.
   
   Fixed all the places where the parameter would need evaluation, left only the string literals
and pre-evaluated variables intact. Addressed LOG.debug, LOGGER.debug, LOG.trace and LOGGER.trace
by search and edit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message