I like how the apache logs for each site are available through the interface and are rotated to my settings. Is it possible to add a custom log file to this list?
Here you can set different options (in short):
Set the right path to your log !
missingok = no error if there is no log file
notifempty = rotate only if log conatins data
sharedscripts = donno
postrotate = maybe it's a good idea to reload or restart the service, so a new file will be created
After installing nginx I have 2 more log files inside ~/statistics/logs for every domain — nginx access and error logs for this domain.
PSA generates it's per domain log rotate settings in /usr/local/psa/etc/logrotate.d
I need to add those naginx logs to every domain.tld file in that directory
grep -r 'logrotate.d' inside /usr/local/psa didn't help