spreadlogd questions
"Jay West" <[email protected]> Wed, 9 Jul 2003 16:08:34 -0500
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
------=_NextPartTM-000-6c815925-ab25-414c-bdc0-dc456a0b6960
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_018E_01C34634.596C0140"
------=_NextPart_000_018E_01C34634.596C0140
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a question and an issue with spreadlogd I can't get my head =
around. Perhaps someone on the list can point me in the right direction:
1) The mod_log_spread sample config lists 3 ways to handle mls setup. =
Basic, Virtualhost by servername, and virtualhost by servername hash. In =
the section on the Hash setup, it shows two spreadlog.conf files and =
says you should have a separate config file and spreadlogd instance for =
each hash bucket. WHY? Couldn't you just put two Log {} groups in a =
single config file for any number of hash buckets? Just curious - and it =
has an impact on #2 below.
2) Assume we set mls in apache for hash, with a hash size of one. In =
spreadlogd, does the VhostDir support using a pipe like the File =
directive does? What I'm really driving at is we want to pipe the log =
writing through cronolog. This can be done using just the virtual host =
by servnername (no hash) and piping to cronolog, no big deal (doing that =
already). But here's the real catch - I do NOT want to have to change =
the spreadlogd config file every time we add or remove a virtual host. =
It may shed some light to know we want the log files stored by cronolog =
to be something like =
/u1/logs/{virtualdomain}/{year}/{month}/{virtualdomain}.log. Of course I =
know how to make cronolog do this. The problem is the integration =
between spreadlogd and cronolog. I see no way to pass the host name that =
spreadlogd discovers in the pipe to cronolog, using either the vh hash =
or vh no-hash paradigm. Any thoughts?
Regards,
Jay West
------=_NextPart_000_018E_01C34634.596C0140
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.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have a question and an issue with =
spreadlogd I=20
can't get my head around. Perhaps someone on the list can point me in =
the right=20
direction:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>1) The mod_log_spread sample config =
lists 3 ways to=20
handle mls setup. Basic, Virtualhost by servername, and virtualhost by=20
servername hash. In the section on the Hash setup, it shows two =
spreadlog.conf=20
files and says you should have a separate config file and spreadlogd =
instance=20
for each hash bucket. WHY? Couldn't you just put two Log {} groups in a =
single=20
config file for any number of hash buckets? Just curious - and it has an =
impact=20
on #2 below.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>2) Assume we set mls in apache for =
hash, with a=20
hash size of one. In spreadlogd, does the VhostDir support using a pipe =
like the=20
File directive does? What I'm really driving at is we want to pipe the =
log=20
writing through cronolog. This can be done using just the virtual host =
by=20
servnername (no hash) and piping to cronolog, no big deal (doing that =
already).=20
But here's the real catch - I do NOT want to have to change the =
spreadlogd=20
config file every time we add or remove a virtual host. It may shed some =
light=20
to know we want the log files stored by cronolog to be something like=20
/u1/logs/{virtualdomain}/{year}/{month}/{virtualdomain}.log. Of course I =
know=20
how to make cronolog do this. The problem is the integration between =
spreadlogd=20
and cronolog. I see no way to pass the host name that spreadlogd =
discovers in=20
the pipe to cronolog, using either the vh hash or vh no-hash paradigm. =
Any=20
thoughts?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Jay West</FONT></DIV></BODY></HTML>
------=_NextPart_000_018E_01C34634.596C0140--
---
[This E-mail scanned for viruses by Declude Virus]
------=_NextPartTM-000-6c815925-ab25-414c-bdc0-dc456a0b6960--