gnodet-bot commented on code in PR #31265:
URL: https://github.com/apache/camel/pull/31265#discussion_r4771099478


##########
components/camel-telemetry-dev/src/main/java/org/apache/camel/telemetrydev/TelemetryDevTracer.java:
##########
@@ -81,7 +81,8 @@ private DevSpanLifecycleManager(String traceFormat) {
                     this.stf = new DevTraceFormatDefault();
                     break;
                 default:
-                    LOG.warn("Unknown {} trace format. Fallback to default.", 
traceFormat);
+                    LOG.warn("Unknown trace format '{}'. Falling back to 
default.", traceFormat);

Review Comment:
   **[low]** The log message `"Unknown {} trace format"` renders slightly 
awkwardly (e.g. `"Unknown bogus trace format"`). Quoting the value and 
rephrasing improves readability:
   
   ```suggestion
                       LOG.warn("Unknown trace format '{}'. Falling back to 
default.", traceFormat);
   ```



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