Logrotate did not generate the rotated log file.
My config
AlmaLinux 9.6
CWP 0.9.8.1216
Contents of File: /etc/logrotate.d/sample.com.log
/usr/local/apache/domlogs/sample.com.log
{
missingok
daily
copytruncate
rotate 7
notifempty
}
However, this feature does not trigger automatically.
Manual triggering can generate new log files.
Why is this? How to automatically generate a new log file?