Update agent logger prefix
MODIFY
javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/LoggingConfigurer.java
javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/LoggingConfigurer.java
@@ -14,7 +14,7 @@ class LoggingConfigurer {
private static final String SIMPLE_LOGGER_DATE_TIME_FORMAT_PROPERTY =
"io.opentelemetry.javaagent.slf4j.simpleLogger.dateTimeFormat";
private static final String SIMPLE_LOGGER_DATE_TIME_FORMAT_DEFAULT =
- "'[opentelemetry.auto.trace 'yyyy-MM-dd HH:mm:ss:SSS Z']'";
+ "'[otel.javaagent 'yyyy-MM-dd HH:mm:ss:SSS Z']'";
private static final String SIMPLE_LOGGER_DEFAULT_LOG_LEVEL_PROPERTY =
"io.opentelemetry.javaagent.slf4j.simpleLogger.defaultLogLevel";
private static final String SIMPLE_LOGGER_PREFIX =

MODIFY
javaagent/src/test/groovy/io/opentelemetry/javaagent/AgentLoadedIntoBootstrapTest.groovy
javaagent/src/test/groovy/io/opentelemetry/javaagent/AgentLoadedIntoBootstrapTest.groovy
@@ -20,8 +20,8 @@ class AgentLoadedIntoBootstrapTest extends Specification {
, true) == 0
}
- // this tests the case where someone adds the contents of opentelemetry-auto.jar by mistake to
- // their application's "uber.jar"
+ // this tests the case where someone adds the contents of opentelemetry-javaagent.jar by mistake
+ // to their application's "uber.jar"
//
// the reason this can cause issues is because we locate the agent jar based on the CodeSource of
// the AgentBootstrap class, and then we add that jar file to the bootstrap class path

Update agent logger prefix (#3007)