Date: Thu, 28 Apr 2005 10:32:08 -0500 From: Greg Barniskis <nalists@scls.lib.wi.us> To: Paul Schmehl <pauls@utdallas.edu> Cc: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: Apache rewrite log and newsyslog.conf Message-ID: <427101F8.8000509@scls.lib.wi.us> In-Reply-To: <0716285D22868BA8E423A522@utd49554.utdallas.edu> References: <0716285D22868BA8E423A522@utd49554.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Paul Schmehl wrote: > I maintain a small hobby website for some friends. I use mod_rewrite, > and apache logs all rewrites to /var/log/httpd/rewrite_log. The log > gets very large and files up /var, so I added it to newsyslog.conf: > > /var/log/httpd-access.log 640 5 * $W0D0 Z > /var/log/httpd-error.log 640 5 * $W0D0 Z > /var/log/httpd/rewrite.log 640 5 * $W0D0 Z > > As you can see, the newsyslog.conf settings are identical to the > httpd-access.log and the httpd-error.log. Both of those logs are > rotated daily and only five gzipped backup copies are maintained. > > For some reason, the rewrite_log never gets turned over. Has anyone > seen this problem? What might I be doing wrong? is it really httpd/rewrite.log or is that a typo for httpd-rewrite.log? if the file really is in its own subdirectory, permissions on that dir? tried keeping the file in /var/log proper instead for real parity with the other httpd log configs? -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) <gregb at scls.lib.wi.us>, (608) 266-6348
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?427101F8.8000509>