glog icon indicating copy to clipboard operation
glog copied to clipboard

Apply max_log_file constraint when timestamp_in_log_file=false

Open andrembcosta opened this issue 11 months ago • 0 comments

Currently, when the flag timestamp_in_log_file=false and max_log_file is set, instead of quitting logging or overwriting to preserve the size limit, glog just appends to the log file and eventually breaks the size limit.

Am I missing another flag to get the intended behavior of having a single log file of limited size? Or is this an actual limitation?

This appears to be similar to https://github.com/google/glog/issues/809

andrembcosta avatar Mar 19 '24 13:03 andrembcosta