Date: Tue, 29 May 2001 13:18:10 -0400 From: Jan Knepper <jan@digitaldaemon.com> To: Simon <simon@optinet.com> Cc: FreeBSD-ISP <freebsd-isp@freebsd.org> Subject: Re: Log file rotation with Apache. Message-ID: <3B13D9D2.5060100@digitaldaemon.com> References: <20010529171239.CB61837B43C@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--------------070805010904050409080309
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Well what I want to solve is the size of the log files.
What I remember from the Webalizer docco is that it will scan .gz log files.
I run Apache and Webalizer on the same .log files and have not seen any
problems with that yet.
What my current problem is is that I would like to rotate the apache log
files without having to touch apache.
Jan
Simon wrote:
> What we do is rename *.log to *.log.resolve, restart apache, run webalizer on *.log.resolve.
>
> -Simon
>
> On Tue, 29 May 2001 13:05:32 -0400, Jan Knepper wrote:
>
>> Hi!
>>
>> Does any of you know about a "clean" way to do log file for Apache
>> without disrupting webalizer?
>>
>> I have tried to just run newsyslog on them as I would like this best,
>> but Apache seems to stop logging after the first trim. I know I can
>> reset Apache with a "kill -1", but don't think that's exactly the way I
>> would like to resolve that problem.
>>
>> Thanks!
>> Jan
>>
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-isp" in the body of the message
>>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>
>
>
--------------070805010904050409080309
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<html><head></head><body>Well what I want to solve is the size of the log files.<br>
What I remember from the Webalizer docco is that it will scan .gz log files.<br>
I run Apache and Webalizer on the same .log files and have not seen any problems with that yet.<br>
<br>
What my current problem is is that I would like to rotate the apache log files without having to touch apache.<br>
<br>
Jan<br>
<br>
<br>
<br>
Simon wrote:<br>
<blockquote type="cite" cite="mid:20010529171239.CB61837B43C@hub.freebsd.org"><pre wrap="">What we do is rename *.log to *.log.resolve, restart apache, run webalizer on *.log.resolve.<br><br>-Simon<br><br>On Tue, 29 May 2001 13:05:32 -0400, Jan Knepper wrote:<br><br></pre>
<blockquote type="cite"><pre wrap="">Hi!<br><br>Does any of you know about a "clean" way to do log file for Apache <br>without disrupting webalizer?<br><br>I have tried to just run newsyslog on them as I would like this best, <br>but Apache seems to stop logging after the first trim. I know I can <br>reset Apache with a "kill -1", but don't think that's exactly the way I <br>would like to resolve that problem.<br><br>Thanks!<br>Jan<br><br><br>To Unsubscribe: send mail to <a class="moz-txt-link-abbreviated" href="mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</a><br>with "unsubscribe freebsd-isp" in the body of the message<br><br></pre></blockquote>
<pre wrap=""><!----><br><br><br><br>To Unsubscribe: send mail to <a class="moz-txt-link-abbreviated" href="mailto:majordomo@FreeBSD.org">majordomo@FreeBSD.org</a><br>with "unsubscribe freebsd-isp" in the body of the message<br><br><br><br></pre>
</blockquote>
<br>
</body></html>
--------------070805010904050409080309--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B13D9D2.5060100>
