Rotation of bitnami Apache log files

0

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

Mike
demandé il y a 3 ans386 vues
2 réponses
0

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.

Checkout https://www.tecmint.com/install-logrotate-to-manage-log-rotation-in-linux/

profile picture
David G
répondu il y a 3 ans
0

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

Mike
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions