assistant: Smarter log file rotation, which takes free disk space into account.

This commit is contained in:
Joey Hess 2014-03-05 18:26:53 -04:00
parent 4596b8810f
commit d32289bab0
3 changed files with 25 additions and 4 deletions

View file

@ -59,3 +59,11 @@ pgl@....:/....../.git/annex$ cat daemon.log.9
# End of transcript or log.
"""]]
> Changed log rotation to only rotate 1 log per hour max,
> unless the total size of the log files is larger than the
> free disk space on the filesystem containing them.
>
> This way, runaway log growth will still be contained,
> but logs will generally rotate slowly enough to give plenty of time
> to see what's in them. [[done]] --[[Joey]]