glog
glog copied to clipboard
Apply max_log_file constraint when timestamp_in_log_file=false
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