[Xitami] Rotate Logs

Forward Design xitami@lists.xitami.org
Tue, 11 Jun 2002 02:53:38 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C210F3.2FEE02E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Shoot me dead if this has already been solved.

Xitami seems to have a hard time rotating the access logs.

Xitami should be copying the current access.log file to yesterdays

date 'ac0x0x0x.log' type of thing, but sometimes it skips days,

and the access.log file just gets bigger and bigger... then it finally =
does it.

I am thinking that when my server is busy, and it is suppose to actually =
rotate

the log file, it can't because the server is being hit, and it is =
writing to the file,

access denied type of thing.


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???  =


Reliably?=20

Using Xitami Pro v2.4d10

------=_NextPart_000_0015_01C210F3.2FEE02E0
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 http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and the access.log file just gets =
bigger and=20
bigger...&nbsp;then it finally does it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>access denied type of =
thing.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Xitami won't let go of =
the&nbsp;access.log file,=20
and I can't delete&nbsp;it to start</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>fresh after I copy the =
file.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas on how to get Xitami to =
perform this=20
seemingly simple task???&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Reliably?</FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Using Xitami Pro =
v2.4d10</FONT></DIV></BODY></HTML>

------=_NextPart_000_0015_01C210F3.2FEE02E0--