Search squid archive

RE: HowDo I: Get Date stamp on the access.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was looking at a similar issue today and needed to convert the epoch
time into a human readable time on the command line. With FreeBSD you
can use

date -r <epoch time>

i.e.

# date -r 1154520379
Wed Aug  2 13:06:19 BST 2006
#

I imagine you can do this with other OSs using their specific syntax.

Paul.


-----Original Message-----
From: John Walubengo [mailto:jwalu@xxxxxxxxx] 
Sent: 10 July 2006 06:48
To: Geoff Varney
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: RE:  HowDo I: Get Date stamp on the access.log

Thanx Geoff.

U have given me exactly what I needed; a step by step
solution aka the 'dummy's version' ;-).

thanx alot.

walu.

--- Geoff Varney <geoff.varney@xxxxxxxxxx> wrote:

> John,
> Here are the files if you're interested.
> 
> Geoff
> 
> -----Original Message-----
> From: John Walubengo [mailto:jwalu@xxxxxxxxx] 
> Sent: Friday, July 07, 2006 1:39 AM
> To: Guido Serassio; Laurent Marc 00
> Cc: squid-users@xxxxxxxxxxxxxxx
> Subject: Re:  HowDo I: Get Date stamp on the
> access.log
> 
> Below is my sample access.log data:
> 
> 1152258629.089  23364 172.16.32.80 TCP_MISS/200 4625 GET
> http://www.pcreview.co.uk/template/vbulletin.css student
> DIRECT/70.86.33.18 text/css
> 
> 1152258629.261   2792 172.16.32.80 TCP_MISS/200 2570 GET
> http://www.htmlgoodies.com/css/starlight/star-light.css
> student DIRECT/63.236.73.67 text/css
> 
> 
> It is basically the default log; how can i get it to show
> the date:time stamp so that I get to know WHEN the users
> accessed these sites?
> 
> walu.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection
> around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux