Re: spreadlogd with dns lookup and log rotation

George Schlossnagle <[email protected]> Mon, 30 Sep 2002 12:07:23 -0400
Newsgroups gmane.comp.apache.mod-log-spread.user
Message-ID <[email protected]>
Yes,it handles pipe transport.  Regarding log rotation, if you mv the 
log and hup spreadlogd, it will repone all the files.  That is how I 
usually handle log rotation.  For DNS lookups, there has been a 
long-unfulfilled goal of linking against libares and doing asynchronous 
lookups and writes....  Liek I said, 'long unfulfilled'.

George



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 "
>
> }
>
>  
>
> 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
>