Skip to content

Commit 17e2616

Browse files
committed
HADOOP-15586. Fix wrong log statement in AbstractService. (Szilard Nemeth via Haibo Chen)
1 parent 9d3c39e commit 17e2616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/service/AbstractService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public final void close() throws IOException {
254254
* @param exception the exception
255255
*/
256256
protected final void noteFailure(Exception exception) {
257-
LOG.debug("noteFailure {}" + exception);
257+
LOG.debug("noteFailure", exception);
258258
if (exception == null) {
259259
//make sure failure logic doesn't itself cause problems
260260
return;

0 commit comments

Comments
 (0)