Rotation of bitnami Apache log files


Trying to figure out how to control the rotation of bitnami Apache log files.

It appears that general logfile rotation is being controlled in /etc/logrotate.conf, but (afaict) that is not affecting apache's log file. There is also, /opt/bitnami/apache2/conf/httpd.conf, but I don't see anything in there about rotation.

Appreciate any advice!

Edited by: mike80222 on Feb 16, 2021 2:39 PM

preguntada hace 3 años460 visualizaciones
2 Respuestas

You'll need to find all your log files (those should be identified in the http config) and add them to the appropriate logrotate config.


profile picture
David G
respondido hace 3 años

OK, I think I see what you're saying. I'll give that a try.

respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas