mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-12-11 22:06:31 +08:00
24 lines
500 B
TOML
24 lines
500 B
TOML
#############################################
|
|
# Tracing & logging configuration
|
|
#############################################
|
|
|
|
[tracing."stdout"]
|
|
method = "stdout"
|
|
level = "trace"
|
|
enable = false
|
|
|
|
[tracing."ot"]
|
|
method = "open-telemetry"
|
|
transport = "http"
|
|
endpoint = "https://127.0.0.1/otel"
|
|
headers = ["Authorization: <place_auth_here>"]
|
|
level = "debug"
|
|
enable = false
|
|
|
|
[tracing."log"]
|
|
method = "log"
|
|
path = "%{BASE_PATH}%/logs"
|
|
prefix = "stalwart.log"
|
|
rotate = "daily"
|
|
level = "info"
|
|
enable = true
|