diff --git a/docs/v0.4/en/user-guide/operations/configuration.md b/docs/v0.4/en/user-guide/operations/configuration.md index c04dab68d..c8851906c 100644 --- a/docs/v0.4/en/user-guide/operations/configuration.md +++ b/docs/v0.4/en/user-guide/operations/configuration.md @@ -439,6 +439,7 @@ level = "info" enable_otlp_tracing = false otlp_endpoint = "localhost:4317" tracing_sample_ratio = 1.0 +append_stdout = true ``` - `dir`: log output directory. @@ -446,6 +447,7 @@ tracing_sample_ratio = 1.0 - `enable_otlp_tracing`: whether to turn on distributed tracing, not turned on by default. - `otlp_endpoint`: Export the target endpoint of tracing using gRPC-based OTLP protocol, the default value is `localhost:4317`. - `tracing_sample_ratio`: The percentage of sampling tracing, the value range is `[0,1]`, the default value is 1, which means sampling all tracing. +- `append_stdout`: Whether to append logs to stdout. Defaults to `true`. How to use distributed tracing, please reference [Tracing](./tracing.md) diff --git a/docs/v0.4/zh/user-guide/operations/configuration.md b/docs/v0.4/zh/user-guide/operations/configuration.md index 784126827..cd354bc76 100644 --- a/docs/v0.4/zh/user-guide/operations/configuration.md +++ b/docs/v0.4/zh/user-guide/operations/configuration.md @@ -438,6 +438,7 @@ level = "info" enable_otlp_tracing = false otlp_endpoint = "localhost:4317" tracing_sample_ratio = 1.0 +append_stdout = true ``` - `dir`: log 输出目录。 @@ -445,6 +446,7 @@ tracing_sample_ratio = 1.0 - `enable_otlp_tracing`:是否打开分布式追踪,默认不开启。 - `otlp_endpoint`:使用基于 gRPC 的 OTLP 协议导出 tracing 的目标端点,默认值为 `localhost:4317`。 - `tracing_sample_ratio`: 采样 tracing 的百分比,取值范围 `[0,1]`,默认值为 1,代表采样所有的 tracing。 +- `append_stdout`:是否将日志打印到stdout。默认是`true`。 如何使用分布式追踪,请参考 [Tracing](./tracing.md)