forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Enhancement](be-logger) Support custom date time format functionalit…
…y in be log. (apache#40347) Add these configurations to control it. ``` // 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}"); ```
- Loading branch information
1 parent
61aa9cb
commit b40eb45
Showing
3 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters