commit | 6225b1240ca3cec74d39005ebdd1e9d9aad3334b | [log] [tgz] |
---|---|---|
author | Jeff Elsloo <elsloo@users.noreply.github.com> | Thu Jul 21 08:30:59 2022 -0600 |
committer | GitHub <noreply@github.com> | Thu Jul 21 08:30:59 2022 -0600 |
tree | e30a32546834cbd3d63074903667eb443de3439c | |
parent | fb02ef8e59e284870b456739f657dae953d7eaae [diff] |
Fixes issue with file size calculation for existing logs (#8971) * Issue arises with existing log files at startup * Because the existing bytes are not accounted for, log rolling does not occur at the correct time * Existing code can lead to logging being suspended indefinitely without manual intervention if thresholds are exceeded and no rolled log files can be deleted * Corner case more evident when other data not rolled by ATS is present in the logging directory