Docker: rsyslog & logrotate
/etc/rsyslog.d/drupal_default.conf
if $syslogtag == 'drupal_default:' then /var/log/drupal_default.log
&~
/etc/logrotate.d/drupal.conf
/var/log/drupal*.log
{
daily
rotate 365
missingok
notifempty
compress
delaycompress
copytruncate
dateext
}
https://www.drupal.org/project/drupal/issues/1252820
Edited by Florent Torregrosa