Skip to content

Commit 08d8860

Browse files
author
Mateusz Rzeszutek
authored
Fix collector config (#5195)
* Fix collector config * use verbosity instead of loglevel
1 parent 80a1f70 commit 08d8860

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration-tests/otlp/src/main/java/io/opentelemetry/integrationtest/OtlpExporterIntegrationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ static void beforeAll() {
136136
collector =
137137
new GenericContainer<>(DockerImageName.parse(COLLECTOR_IMAGE))
138138
.withImagePullPolicy(PullPolicy.alwaysPull())
139-
.withEnv("LOGGING_EXPORTER_LOG_LEVEL", "INFO")
139+
.withEnv("LOGGING_EXPORTER_VERBOSITY_LEVEL", "normal")
140140
.withCopyFileToContainer(
141141
MountableFile.forHostPath(serverTls.certificateFile().toPath(), 0555),
142142
"/server.cert")

integration-tests/otlp/src/main/resources/otel-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ receivers:
2323
key_file: $MTLS_SERVER_KEY
2424
exporters:
2525
logging:
26-
logLevel: $LOGGING_EXPORTER_LOG_lEVEL
26+
verbosity: $LOGGING_EXPORTER_VERBOSITY_LEVEL
2727
otlp:
2828
endpoint: $OTLP_EXPORTER_ENDPOINT
2929
tls:

0 commit comments

Comments
 (0)