Date: Thu, 2 Oct 2008 08:48:11 -0400 From: Jerry <gesbbb@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: newsyslog and apache Message-ID: <20081002084811.6fe9a50d@scorpio> In-Reply-To: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> References: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/zj/osFUnv0PyPKRKGRYVKE0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 02 Oct 2008 14:20:50 +0200 "DA Forsyth" <d.forsyth@ru.ac.za> wrote: >I used to have one big apache log file, but decided to rotate it once=20 >a month using newsyslog. > >However, now apache stops and does not restart when the log is=20 >rotated. > >line from newsyslog.conf >/var/log/apache/httpd-access.log 640 13 * $M1D8 B =20 > /var/run/httpd.pid 30 > >with a similar one for the error log. > >I have to manually start apache after this rotates the log. > >I alos see that 'apachectl restart' stops apache but it doesn't=20 >restart. > >any ideas? I use 'rotatelogs': http://httpd.apache.org/docs/2.0/programs/rotatelogs.html to facilitate the rotating of logs. If you need further information, contact me OL. --=20 Jerry gesbbb@yahoo.com To see a need and wait to be asked, is to already refuse. --Sig_/zj/osFUnv0PyPKRKGRYVKE0 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjkwwwACgkQBvaKIJWWCO1WiQCfZWkoIYqjCqewYnIS64sZrTyT 85wAnRUkUvMhmdzBuUfNR031lhvl/VYa =nrSw -----END PGP SIGNATURE----- --Sig_/zj/osFUnv0PyPKRKGRYVKE0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081002084811.6fe9a50d>