Chromium Code Reviews
DescriptionSingleLogSource handles rotation of log files
By observing underlying file inode values, SingleLogSource can tell
when a log file has been rotated (renamed and then replaced). When this
state is detected, SingleLogSource will read the remainder of the old
log file and then start reading from the new log file.
BUG=731906
TEST=unit tests pass
Review-Url: https://codereview.chromium.org/2940493002
Cr-Commit-Position: refs/heads/master@{#479194}
Committed: https://chromium.googlesource.com/chromium/src/+/bc3c128e15e218688cd067a17e5966fce4364ec1
Patch Set 1 #
Total comments: 7
Patch Set 2 : Use constexpr; Rename bool; Simplify logic #
Depends on Patchset: Messages
Total messages: 15 (9 generated)
|
|||||||||||||||||||||||||||||||||||||