]> git.proxmox.com Git - pmg-api.git/commit
Add logrotate config for pmgproxy.log
authorStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 24 Apr 2020 10:06:28 +0000 (12:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 24 Apr 2020 11:35:45 +0000 (13:35 +0200)
commit243f0c0796a440d812bb6951a9114aa2d1ba3fdb
treec090afc660e991583f67df69fbd4665408efe48d
parent01c5b2318b69b0957b8db826d6df348a32a9faa2
Add logrotate config for pmgproxy.log

to keep the log from growing without end. Rotate monthly and keep 12 logs,
since the logs should not be too large (e.g. a productive instance, with
~20 users using the quarantine and some configuration changes amounts to
108M over 2.5 years)

the logrotate snippet is placed in /etc/logrotate.d/pmg-api by
dh_installlogrotate(1).

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
debian/pmg-api.logrotate [new file with mode: 0644]