Re: rotating apache logs

2006-03-31 Thread Constantine A. Murenin
On 31/03/06, Hiro Protagonist <[EMAIL PROTECTED]> wrote: > below a small piece of code i found somewhere. > It works but mayby you wanna fix something. [piece of code was here] Why bother with manually compiling some third-party utility, when rotatelogs(8) is already included with apache, see htt

Re: rotating apache logs

2006-03-31 Thread Frank Garcia
On Friday 31 March 2006 01:05, Peter wrote: > Hi. What is the best way to rotate apache logs on OpenBSD? Ideally I > would like to create a new one at the beginning of each month. I > searched my system for logrotate and could not find it. > Tired of spam? Yahoo! Mail has the best spam protecti

Re: rotating apache logs

2006-03-31 Thread Olivier Mehani
On Fri, Mar 31, 2006 at 03:05:25AM -0500, Peter wrote: > Hi. What is the best way to rotate apache logs on OpenBSD? Ideally I > would like to create a new one at the beginning of each month. I > searched my system for logrotate and could not find it. After discussing that on the list [1], I end

Re: rotating apache logs

2006-03-31 Thread Hiro Protagonist
Hello Peter below a small piece of code i found somewhere. It works but mayby you wanna fix something. Add in httpd.conf LogFormat "%h %v %u %t \"%r\" %>s %b \"%{Referer}i\" " combined . CustomLog "| PATH_TO_ROTATELOGSDAY YOUR_LOGFILE" combined /* * Simple program to rotate Apache logs

Re: rotating apache logs

2006-03-31 Thread Martin Schröder
On 2006-03-31 09:57:59 +0200, Antoine Jacoutot wrote: > You can use newyslog for that. And why does httpd(8) point to rotatelogs(8) instead? Best Martin -- http://www.tm.oneiros.de

Re: rotating apache logs

2006-03-31 Thread Antoine Jacoutot
Selon Peter <[EMAIL PROTECTED]>: > Hi. What is the best way to rotate apache logs on OpenBSD? Ideally I > would like to create a new one at the beginning of each month. I > searched my system for logrotate and could not find it. > Tired of spam? Yahoo! Mail has the best spam protection around

Re: rotating apache logs

2006-03-30 Thread Per-Olov Sjöholm
On Friday 31 March 2006 09.05, you wrote: > Hi. What is the best way to rotate apache logs on OpenBSD? Ideally I > would like to create a new one at the beginning of each month. I > searched my system for logrotate and could not find it. > Tired of spam? Yahoo! Mail has the best spam protection

rotating apache logs

2006-03-30 Thread Peter
Hi. What is the best way to rotate apache logs on OpenBSD? Ideally I would like to create a new one at the beginning of each month. I searched my system for logrotate and could not find it. Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com