Re: spreadlogd with dns lookup and log rotation
Theo Schlossnagle <[email protected]> Mon, 30 Sep 2002 12:14:41 -0400
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Message-ID | <[email protected]> |
Jay West wrote:
> Before I just try it and pray that it works....
>
> Does the "File = "/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 = "cluster1"
> File = "|dns-terror -o | cronolog "
> }
This doesn't work.
You don't need a log rotation program -- just move the file and -HUP
spreadlogd. It will reopen all necessary files.
As for resolving, that's an issue. I personally think that integrating
in libares would be slick -- but that isn't implemented either.
--
Theo Schlossnagle
Principal Consultant
OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
Phone: +1 410 872 4910 x201 Fax: +1 410 872 4911
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
-----------------------------------------------------------
-- Presenting at ApacheCon --
-- November 18th, 2002 --
-- Las Vegas, Nevada --
-- Backhand: understanding and building HA/LB clusters --
-- http://apachecon.com/2002/US/ --
-- --
-- Learn all there is to know about high availability --
-- internet systems and load balancing techniques --
-- focusing on applications driven by the Apache web --
-- server! --
-----------------------------------------------------------