[Xitami] Rotate Logs
Gregory Hart
xitami@lists.xitami.org
Tue, 11 Jun 2002 17:10:04 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0036_01C2116A.D4099AC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
In the admin screen, go to Configuration, and then Logging. Make sure =
that all the settings that you want are correct.
-Greg
----- Original Message -----=20
From: Forward Design=20
To: xitami@lists.xitami.org=20
Sent: Tuesday, June 11, 2002 12:53 AM
Subject: [Xitami] Rotate Logs
Shoot me dead if this has already been solved.
=20
Xitami seems to have a hard time rotating the access logs.
=20
Xitami should be copying the current access.log file to yesterdays
=20
date 'ac0x0x0x.log' type of thing, but sometimes it skips days,
=20
and the access.log file just gets bigger and bigger... then it finally =
does it.
=20
I am thinking that when my server is busy, and it is suppose to actually =
rotate
=20
the log file, it can't because the server is being hit, and it is =
writing to the file,
=20
access denied type of thing.
=20
=20
I even gave up having Xitami do it, and wrote a perl script to do the =
rotating for me, but
Xitami won't let go of the access.log file, and I can't delete it to =
start
fresh after I copy the file.
Any ideas on how to get Xitami to perform this seemingly simple task??? =
=20
Reliably?=20
=20
Using Xitami Pro v2.4d10
------=_NextPart_000_0036_01C2116A.D4099AC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>In the admin screen, go to =
Configuration, and then=20
Logging. Make sure that all the settings that you want are =
correct.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Greg</FONT></DIV>
<DIV> </DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
href=3D"mailto:forward@forwarddesign.com" =
title=3Dforward@forwarddesign.com>Forward=20
Design</A> </DIV>
<DIV><B>To:</B> <A href=3D"mailto:xitami@lists.xitami.org"=20
title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
<DIV><B>Sent:</B> Tuesday, June 11, 2002 12:53 AM</DIV>
<DIV><B>Subject:</B> [Xitami] Rotate Logs</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Shoot me dead if this has already been=20
solved.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Xitami seems to have a hard time =
rotating the=20
access logs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Xitami should be copying the current =
access.log=20
file to yesterdays</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>date 'ac0x0x0x.log' type of thing, but =
sometimes it=20
skips days,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>and the access.log file just gets =
bigger and=20
bigger... then it finally does it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am thinking that when my server is =
busy, and it=20
is suppose to actually rotate</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>the log file, it can't because the =
server is being=20
hit, and it is writing to the file,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>access denied type of =
thing.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I even gave up having Xitami do it, and =
wrote a=20
perl script to do the rotating for me, but</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Xitami won't let go of =
the access.log file,=20
and I can't delete it to start</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>fresh after I copy the =
file.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas on how to get Xitami to =
perform this=20
seemingly simple task??? </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Reliably?</FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Using Xitami Pro =
v2.4d10</FONT></DIV></BODY></HTML>
------=_NextPart_000_0036_01C2116A.D4099AC0--