Re: [squid-users] access log

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 29 Jun 2001 16:56:09 +0200

Seems to work fine here.

rm access.log
mknod access.log p
cat access.log
[restart squid]

and cat properly picks up the access.log entries from the pipe.

--
Henrik Nordstrom
Squid Hacker
Ilya Golovko wrote:
> 
> Hi!
> 
> Please, explain me your configuration. What can I do wrong?
> Squid runs under nobody user and pipe file is owned by nobody user also. May
> be there is some  features in config?
> 
> My perl program is :
> 
> #! /usr/bin/perl
> 
> # file /var/log/squid/access is my pipe file
> open(ACCESS,'/var/log/squid/access') || die 'error opening access file';
> while (<ACCESS>) {
> # here I want to do some actions to parse log's line
> print $_;
> }
Received on Fri Jun 29 2001 - 09:31:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:53 MST