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
gefragt vor 3 Jahren393 Aufrufe
2 Antworten
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
beantwortet vor 3 Jahren
0

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

Mike
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen