mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
services: rottlog: Keep important /var/log files for 16 weeks.
The default "rotate" value is 1 as of rottlog 0.72.2, meaning that only one rotated file would be kept in addition to the active file. * gnu/services/admin.scm (%default-rotations): Add "rotate" option for %ROTATED-FILES.
This commit is contained in:
parent
bfe3fdbc75
commit
e5a6900baf
1 changed files with 4 additions and 1 deletions
|
@ -93,7 +93,10 @@ (define %default-rotations
|
|||
(list (log-rotation ;syslog files
|
||||
(files %rotated-files)
|
||||
|
||||
(options '(;; Run post-rotate once per rotation
|
||||
(frequency 'weekly)
|
||||
(options '(;; These files are worth keeping for a few weeks.
|
||||
"rotate 16"
|
||||
;; Run post-rotate once per rotation
|
||||
"sharedscripts"
|
||||
;; Append .gz to rotated files
|
||||
"storefile @FILENAME.@COMP_EXT"))
|
||||
|
|
Loading…
Reference in a new issue