fix: enable stdio logging when otlp is enabled
This commit is contained in:
parent
862116c050
commit
6e0012cb0a
5 changed files with 161 additions and 7 deletions
24
integration/fixtures/dual_logging/otlp_and_stdout.toml
Normal file
24
integration/fixtures/dual_logging/otlp_and_stdout.toml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[global]
|
||||
checkNewVersion = false
|
||||
sendAnonymousUsage = false
|
||||
|
||||
[log]
|
||||
level = "INFO"
|
||||
|
||||
[experimental]
|
||||
otlpLogs = true
|
||||
|
||||
[log.otlp]
|
||||
serviceName = "traefik-test"
|
||||
[log.otlp.http]
|
||||
endpoint = "{{ .CollectorURL }}"
|
||||
|
||||
[api]
|
||||
insecure = true
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.web]
|
||||
address = ":8000"
|
||||
|
||||
[providers.docker]
|
||||
exposedByDefault = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue