From owner-freebsd-questions Fri May 3 6: 3:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (Postfix) with ESMTP id C405F37B400 for ; Fri, 3 May 2002 06:03:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by cactus.fi.uba.ar (8.11.6/8.11.6) with ESMTP id g43D0vL01551; Fri, 3 May 2002 10:00:58 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Fri, 3 May 2002 10:00:57 -0300 (ART) From: Fernando Gleiser X-X-Sender: To: Cc: Subject: Re: anyone know how to change the logformat for squid, (want a date/time field) In-Reply-To: <200205031254.g43Csrx16990@mail.ipsnetwork.net> Message-ID: <20020503095737.Q99219-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 3 May 2002, it was written: > I have been using a simple PERL script to go through the squid log > file, and output what a specified user has requested... a bit messy as > it shows every item, (image, html, cookie, etc), but it works. > > Now, the administration wants not only to know what a particular user > has seen, but also when they saw it. So I need to figure out how to put > a date/time field into the logfile. (if one in some cryptic way doesn't > already exist?) Any ideas? The first entry is the time/date in unix internal format. look at http://www.squid-cache.org/Doc/FAQ/FAQ-6.html for detailed info about squid log files format. Fer > > -- > Nathan Vidican > Nathan@Vidican.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message