Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement](be-logger) Support custom date time format functionality in be log. #41129

Closed

Commits on Sep 23, 2024

  1. [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}");
    ```
    kaka11chen committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    b40eb45 View commit details
    Browse the repository at this point in the history