[Enhancement](be-logger) Support custom date time format functionality in be log. (#40727)
## Proposed changes backport #40347
This commit is contained in:
@ -220,6 +220,12 @@ DEFINE_Int32(sys_log_verbose_level, "10");
|
||||
DEFINE_Int32(sys_log_verbose_flags_v, "-1");
|
||||
// log buffer level
|
||||
DEFINE_String(log_buffer_level, "");
|
||||
// log enable custom date time format
|
||||
DEFINE_Bool(sys_log_enable_custom_date_time_format, "false");
|
||||
// log custom date time format (https://en.cppreference.com/w/cpp/io/manip/put_time)
|
||||
DEFINE_String(sys_log_custom_date_time_format, "%Y-%m-%d %H:%M:%S");
|
||||
// log custom date time milliseconds format (fmt::format)
|
||||
DEFINE_String(sys_log_custom_date_time_ms_format, ",{:03d}");
|
||||
|
||||
// number of threads available to serve backend execution requests
|
||||
DEFINE_Int32(be_service_threads, "64");
|
||||
|
||||
Reference in New Issue
Block a user