databendlabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.85k stars 750 forks source link

feat: add config include_node_id for file logging #16648

Open everpcpc opened 3 weeks ago

everpcpc commented 3 weeks ago

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

When include_node_id enabled, the log file name will be like databend-query-<cluster_id>@<node_id>-<time>.log

For scenarios in which multiple instances logging to the same directory. For example, kubernetes with host volume for logging.

Tests

Type of change


This change isโ€‚Reviewable