Re: logfile helper

2007-06-02 Thread Henrik Nordstrom
fre 2007-06-01 klockan 22:29 +0100 skrev Robin Bowes: I need something like this for squid-2.6.STABLE2 (built from the FC6 SRPM) Has anyone applied this to squid-2.6? Are there any other log-to-pipe solutions ? There is the Using an external helper to perform Logfile IO project..

Re: logfile helper

2007-06-02 Thread Adrian Chadd
On Sat, Jun 02, 2007, Henrik Nordstrom wrote: fre 2007-06-01 klockan 22:29 +0100 skrev Robin Bowes: I need something like this for squid-2.6.STABLE2 (built from the FC6 SRPM) Has anyone applied this to squid-2.6? Are there any other log-to-pipe solutions ? There is the Using an

Re: logfile helper

2007-06-02 Thread Robin Bowes
Adrian Chadd wrote: On Sat, Jun 02, 2007, Henrik Nordstrom wrote: fre 2007-06-01 klockan 22:29 +0100 skrev Robin Bowes: I need something like this for squid-2.6.STABLE2 (built from the FC6 SRPM) Has anyone applied this to squid-2.6? Are there any other log-to-pipe solutions ? There is the

Re: logfile helper

2007-06-02 Thread Adrian Chadd
On Sat, Jun 02, 2007, Robin Bowes wrote: Adrian, I'm happy to attempt to port the Logfile IO stuff to 2.6 if I can get some sort of overview of how it works. Do you have any docs describing how your logfile stuff works? Its pretty simple. the s26_logfile_daemon code abstracts out the logfile

Re: logfile helper

2007-06-02 Thread Robin Bowes
Adrian Chadd wrote: On Sat, Jun 02, 2007, Robin Bowes wrote: Adrian, I'm happy to attempt to port the Logfile IO stuff to 2.6 if I can get some sort of overview of how it works. Do you have any docs describing how your logfile stuff works? Its pretty simple. the s26_logfile_daemon code

Re: logfile helper

2007-06-02 Thread Adrian Chadd
On Sat, Jun 02, 2007, Robin Bowes wrote: It should be straightforward if you look at logfile.c and the logfile struct layout. Its slightly different from how the codebase worked before (where flush seemed to be the end of line and sync call) so don't try to look at the current squid-2 or

Re: logfile helper

2007-06-02 Thread Henrik Nordstrom
lör 2007-06-02 klockan 12:03 +0100 skrev Robin Bowes: Henrik - thanks for the pointer. Adrian, I'm happy to attempt to port the Logfile IO stuff to 2.6 if I can get some sort of overview of how it works. Do you have any docs describing how your logfile stuff works? s26_logfile_daemon

Re: logfile helper

2005-09-12 Thread Henrik Nordstrom
On Sun, 11 Sep 2005, Andrey Chichak wrote: I have patched Squid-2.5.STABLE10 to write logs into pipe. Write in config file: cache_access_log |some script and access log would be catched with script. During logrotate pipe is reopened. I think this is useful for realtime log analize.