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 年前381 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则