he1l0world commented on code in PR #11188: URL: https://github.com/apache/cloudstack/pull/11188#discussion_r2206278871
########## server/src/main/java/com/cloud/api/ApiServer.java: ########## @@ -626,7 +626,7 @@ public String handleRequest(final Map params, final String responseType, final S for (final Object key : params.keySet()) { final String keyStr = (String)key; final String[] value = (String[])params.get(key); - logger.trace(" key: " + keyStr + ", value: " + ((value == null) ? "'null'" : value[0])); + logger.trace(" key: {}, value: {}", keyStr, (value == null) ? "'null'" : value[0]); Review Comment: Thanks for the suggestion! Just to confirm, I saw we are using `Log4j 2.19.0`, it doesn't support lambda directly, but it does support Supplier, which should work the same. -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org