Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
I am conducting research on log related bugs. I tried to make a tool to fix repetitive yet simple patterns of bugs that are related to logs. In this file, there is a debug level logging statement containing multiple string concatenation without the if statement before them:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestCachingStrategy.java, LOG.debug("got fadvise(offset=" + offset + ", len=" + len +",flags=" + flags + ")");, 82
Would you be interested in adding the if, to the logging statement?
Attachments
Attachments
Issue Links
- is related to
-
HDFS-12829 Moving logging APIs over to slf4j in hdfs
- Open