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년 전377회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠