* fix calculations for time differences * fix extension for zip compression * fix omitted copy for logs with `mail` and `rotate 0` * fix wrongly skipping copy with `copytruncate` and `compress` * fix ambiguities between `mode`, `UID` and `GID` parsing when not specifying all options * fix hang when encountering a named pipe * on prerotate failure logs are preserved instead of rotated * in case a configuration file was skipped due to unsafe permissions the * exit status after rotattion will be `1` * the state is no longer written to non-regular files * the systemd timer now correctly utilizes load distribution * add dateformat specifier `%z` for timezone offsets * change default mode for created `olddir` directories to `0755` * support quoted user and group names in `su`, `create`, and `createolddir` - update logroate.keyring: new maintainer - drop logrotate-3.19.0-systemd_add_home_env.patch: - Adapted man page: logrotate-3.19.0-man_logrotate.patch - Add "Environment=HOME=/root" to logrotate.service file in order - remove unused PreReq tags - Enable Persistent timer since we are now in systemd 219. * logrotate-3.7.8-conf.patch > logrotate-conf.patch * logrotate-manpage_config_clarification.patch - Also, avoid logrotate unit activation when the system is - Migrate from cron to systemd timer units, this is overall the most important package to migrate since it is one OBS-URL: https://build.opensuse.org/package/show/Base:System/logrotate?expand=0&rev=108
24 lines
523 B
Plaintext
24 lines
523 B
Plaintext
# see "man logrotate" for details
|
|
# rotate log files weekly
|
|
weekly
|
|
|
|
# keep 4 weeks worth of backlogs
|
|
rotate 4
|
|
|
|
# create new (empty) log files after rotating old ones
|
|
create
|
|
|
|
# use date as a suffix of the rotated file
|
|
dateext
|
|
|
|
# uncomment this if you want your log files compressed
|
|
compress
|
|
|
|
# comment these to switch compression to use gzip or another
|
|
# compression scheme
|
|
compresscmd /usr/bin/xz
|
|
uncompresscmd /usr/bin/xzdec
|
|
|
|
# Additinal location (directory or file) for rotation information
|
|
# include <file_or_directory>
|