![]() - Ignore some pointless errors (like not exist on remove) - Consolidate error handling/logging - Fix race condition reading last log timestamp in the compression goroutine. This needs to be done while holding the write lock, which is not (or may not be) locked while compressing a rotated log file. - Remove some indentation and consolidate mutex unlocking in `compressFile` Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
cache | ||
file_unix.go | ||
file_windows.go | ||
file_windows_test.go | ||
log_tag.go | ||
log_tag_test.go | ||
logfile.go | ||
logfile_test.go |