Update agent logger prefix (#3007)
This commit is contained in:
parent
c24949eea9
commit
d6141dddc7
|
@ -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 =
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue