Skip to content

Commit 39eff12

Browse files
committed
cleanup
1 parent 923763e commit 39eff12

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

javaagent-extension-api/src/main/java/io/opentelemetry/javaagent/extension/DeclarativeConfigPropertiesBridge.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,14 @@ private static String getJavaPath(String property) {
245245
return null;
246246
}
247247

248+
@Nullable
248249
private String agentLoggerName() {
249250
DeclarativeConfigProperties logOutput = getLogOutput();
250251
Set<String> names = logOutput.getPropertyKeys();
251252

252253
if (names.isEmpty()) {
253-
// no log output configured, use the default
254-
return "simple";
254+
// no log output configured
255+
return null;
255256
}
256257

257258
if (names.size() > 1) {

0 commit comments

Comments
 (0)