Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2021 13:12:56 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   rotate apache logs?
Message-ID:  <25261693-8d86-9c6f-eb87-c82da4fcc559@dreamchaser.org>

next in thread | raw e-mail | index | archive | help
It I look at /var/log, many of the logs are rotated.
However, apache logs are not, and I don't see a way in the apache config file
/usr/local/etc/apache24/httpd.conf to do this.

Do each of the programs that rotate their logs have their own mechanism for
doing this, or is there a common mechanism that is used?  I see that the
sysutils/logrotate port is available to do this, but not installed.  It seems
strange that so many programs would rotate but not use a common utility for
that purpose.

Is logrotate the recommended way to rotate apache logs?

Gary



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25261693-8d86-9c6f-eb87-c82da4fcc559>