spreadlogd with dns lookup and log rotation

"Jay West" <[email protected]> Mon, 30 Sep 2002 10:57:24 -0500
Newsgroups gmane.comp.apache.mod-log-spread.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPartTM-000-a546bfb5-12ed-4366-9980-3094b75f7988
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00A3_01C26870.28B6F520"

------=_NextPart_000_00A3_01C26870.28B6F520
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Before I just try it and pray that it works....

Does the "File =3D "/xxxxxxx" line in spreadlogd take a pipe like Apache =
does for Transferlog? I'm thinking it would be nice to run the apache =
log messages spreadlog receives through a dns lookup program, and =
possibly a log rotation program. Has anyone done this and does it work? =
I'm thinking something like....

Log {
    Group =3D "cluster1"
    File =3D "|dns-terror -o | cronolog "
}

or something along those lines. Surely someone has a nice way of =
handling dns resolution and log file rotation where spreadlogd is =
receiving the weblogs....

Jay West
Knights Direct
------=_NextPart_000_00A3_01C26870.28B6F520
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.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Before I just try it and pray that it=20
works....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Does the "File =3D "/xxxxxxx" line in =
spreadlogd take=20
a pipe like Apache does for Transferlog? I'm thinking it would be nice =
to run=20
the apache log messages spreadlog receives through a dns lookup program, =
and=20
possibly a log rotation program. Has anyone done this and does it work? =
I'm=20
thinking something like....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Log {</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; Group =3D =
"cluster1"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; File =3D =
"|dns-terror -o |=20
cronolog "</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>}</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>or something along those lines. Surely =
someone has=20
a nice way of handling dns resolution and log file rotation where =
spreadlogd is=20
receiving the weblogs....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jay West</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Knights =
Direct</FONT></DIV></BODY></HTML>

------=_NextPart_000_00A3_01C26870.28B6F520--

---
[This E-mail scanned for viruses by Declude Virus]


------=_NextPartTM-000-a546bfb5-12ed-4366-9980-3094b75f7988--