Add /var/log/pihole/webserver.log to the logrotate scripts. While it may be empty for most, it can grow quickly if either API or TLS debugging is enabled (it can quickly reach several hundreds of MB per day when debugging TLS)

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2023-07-05 22:11:56 +01:00
parent 047017dc6a
commit 64319fa96e
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -19,3 +19,14 @@
notifempty notifempty
nomail nomail
} }
/var/log/pihole/webserver.log {
# su #
weekly
copytruncate
rotate 3
compress
delaycompress
notifempty
nomail
}