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
已提問 3 年前檢視次數 384 次
2 個答案
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
已回答 3 年前
0

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

Mike
已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南