szetszwo commented on code in PR #7071:
URL: https://github.com/apache/hadoop/pull/7071#discussion_r1775489764
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/impl/MetricsConfig.java:
##########
@@ -135,7 +135,7 @@ static MetricsConfig loadFirst(String prefix, String...
fileNames) {
throw new MetricsConfigException(e);
}
}
- LOG.warn("Cannot locate configuration: tried " +
+ LOG.debug("Cannot locate configuration: tried " +
Joiner.on(",").join(fileNames));
Review Comment:
Let's also replace `Joiner` with `Arrays.asList(..)` and use `{}`.
```java
LOG.debug("Cannot locate configuration: tried {}",
Arrays.asList(fileNames));
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]