Is your feature request related to a problem? Please describe.
We do not configure Apache log rotation with docker deployment, it can leads to potential problems at a moment in the future.
Describe the solution you'd like
It seems the best for now could be setting up logrotate system wide (ensure it in deploy script ?), as system logrotate has access to volume containing log and can sens signal to apache process running say docker-compose exec -T backend killall -s SIGHUP apache2).
Describe alternatives you've considered
Normally we should send all logs to docker log handling and harvest them in a log facility… but that's for later on.
Is your feature request related to a problem? Please describe.
We do not configure Apache log rotation with docker deployment, it can leads to potential problems at a moment in the future.
Describe the solution you'd like
It seems the best for now could be setting up logrotate system wide (ensure it in deploy script ?), as system logrotate has access to volume containing log and can sens signal to apache process running say
docker-compose exec -T backend killall -s SIGHUP apache2
).Describe alternatives you've considered
Normally we should send all logs to docker log handling and harvest them in a log facility… but that's for later on.
I didn't see any way Apache can auto-rotate logs by itself, see https://httpd.apache.org/docs/2.4/logs.html#rotation
Additional context
No response
Number of products impacted
No response
Time per product
No response