v.23.7New Feature
Added Date and Time Format Specifiers for Log File Names
Added the possibility to use date and time format specifiers in log and error log file names, either in config files (loganderrorlogtags) or command line arguments (--log-fileand--errorlog-file). #51945 (Victor Krasnov).
Why it matters
This feature allows users to include dynamic timestamps in their log file names, enabling easier log management, rotation, and archival by automatically differentiating log files based on date and time.How to use it
Users can include date and time format specifiers in thelog and errorlog tags within ClickHouse configuration files or directly in command line arguments --log-file and --errorlog-file. The specifiers follow standard date/time formatting conventions to generate timestamped log file names.