Support dateext setting for domain logs
Currently domain logs look like
541004 -rw-r--r-- 2 root root 0 Mar 2 15:01 accesslog
562544 -rw-r--r-- 2 root root 0 Mar 2 15:01 accesslog.processed
538890 -rw-r--r-- 2 root root 827 Mar 2 15:01 accesslog.processed.1.gz
538922 -rw-r--r-- 2 root root 642 Mar 2 14:59 accesslog.processed.2.gz
538925 -rw-r--r-- 2 root root 907 Mar 2 14:59 accesslog.processed.3.gz
538908 -rw-r--r-- 2 root root 582 Mar 2 14:58 accesslog.processed.4.gz
538915 -rw-r--r-- 2 root root 787 Mar 2 14:57 access_log.processed.5.gz
If user sets dateext in logrotate config they look more user firendly
-rw-r--r-- 2 root root 8985 Mar 2 13:25 accesslog
-rw-r--r-- 2 root root 26020 Mar 2 13:21 accesslog.processed
-rw-r--r-- 1 root root 20 Feb 12 03:50 accesslog.processed-20170213.gz
-rw-r--r-- 1 root root 20 Feb 13 03:16 accesslog.processed-20170214.gz
-rw-r--r-- 1 root root 20 Feb 14 03:23 accesslog.processed-20170215.gz
-rw-r--r-- 1 root root 20 Feb 15 03:39 accesslog.processed-20170216.gz
However Plesk would not rotate such logs correctly (old logs are not being deleted from vhost/domain.tld/logs directory.
Thank you for your input!
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
—
IG