grobmeier commented on code in PR #14177:
URL: https://github.com/apache/maven/pull/14177#discussion_r4732293711


##########
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java:
##########
@@ -785,9 +785,9 @@ protected Runnable settings(C context, boolean 
emitSettingsWarnings, SettingsBui
             context.eventSpyDispatcher.onEvent(settingsRequest);
         }
 
-        context.logger.debug("Reading installation settings from '" + 
installationSettingsFile + "'");
-        context.logger.debug("Reading project settings from '" + 
projectSettingsFile + "'");
-        context.logger.debug("Reading user settings from '" + userSettingsFile 
+ "'");
+        context.logger.atDebug().log("Reading installation settings from 
'{0}'", installationSettingsFile);
+        context.logger.atDebug().log("Reading project settings from '{0}'", 
projectSettingsFile);
+        context.logger.atDebug().log("Reading user settings from '{0}'", 
userSettingsFile);

Review Comment:
   @gnodet-bot you are wrong here: 
https://github.com/apache/maven/blob/master/api/maven-api-log/src/main/java/org/apache/maven/api/logging/Logger.java#L200
 - it has a atDebug() method and works with {0} styled parameters:
   
https://github.com/apache/maven/blob/master/impl/maven-logging/src/main/java/org/apache/maven/logging/impl/DefaultLogEvent.java#L368
   



-- 
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]

Reply via email to