We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc46fce commit cb3f0bdCopy full SHA for cb3f0bd
javaagent-bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/AgentArgUtil.java
@@ -21,11 +21,9 @@ public static void setSystemProperties(@Nullable String agentArgs) {
21
if (keyValue.length == 2) {
22
if (keyValue[0].equals("otel.javaagent.debug")) {
23
debug = Boolean.parseBoolean(keyValue[1]);
24
- } else {
25
- System.setProperty(keyValue[0], keyValue[1]);
26
- if (debug) {
27
- System.out.println("Setting property [" + keyValue[0] + "] = " + keyValue[1]);
28
- }
+ System.setProperty(keyValue[0], keyValue[1]);
+ if (debug) {
+ System.out.println("Setting property [" + keyValue[0] + "] = " + keyValue[1]);
29
}
30
31
0 commit comments