Thanks for your feedback. I tried logrotate before, but was (and still am) not able to get it working on these files though. I have tried several variations of
/var/log/rabbitmq/http/access.log {
hourly
missingok
rotate 5
nocreate
compress
delaycompress
dateext
dateformat .%Y_%m_%d_%H
su rabbitmq adm
}
but to no prevail. Using wildcards in the log file name makes everything even worse (compressing already compressed files, etc.).
If the log file would simply be "access.log" without any automatic date added, everything would be fine, but I also could not find any means of disabling this "feature" in the RabbitMQ configuration. It seems that I will have to stick with a manual script for the time being.
Thanks,
Rainer