logrotate.conf update and some cleanup

This commit is contained in:
bunkerity
2020-10-25 16:25:54 +01:00
parent 34a0da444f
commit e1356e3eb0
3 changed files with 7 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
/var/log/messages /var/log/*.log /var/log/clamav/*.log /var/log/php7/*.log {
/var/log/*.log /var/log/clamav/*.log /var/log/nginx/*.log {
# compress old files using gzip
compress

View File

@@ -25,6 +25,3 @@ module(load="imuxsock")
$template rawFormat,"%msg:2:2048%\n"
local0.=notice /var/log/access.log;rawFormat
local0.*;local0.!=notice /var/log/error.log;rawFormat
# PHP
local1.* /var/log/php.log