Use + instead of printf in logging exporter
MODIFY
javaagent-exporters/logging/src/main/java/io/opentelemetry/javaagent/exporters/logging/LoggingExporter.java
javaagent-exporters/logging/src/main/java/io/opentelemetry/javaagent/exporters/logging/LoggingExporter.java
@@ -33,7 +33,8 @@ public class LoggingExporter implements SpanExporter {
@Override
public CompletableResultCode export(Collection<SpanData> list) {
for (SpanData span : list) {
- System.out.printf("%s %s %s %s", prefix, span.getName(), span.getTraceId(), span.getSpanId());
+ System.out.print(
+ prefix + " " + span.getName() + " " + span.getTraceId() + " " + span.getSpanId() + " ");
span.getAttributes()
.forEach(
new AttributeConsumer() {

Use + instead of printf in logging exporter (#1251)