Re: help in squid acces log file

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

 



Paulus Junior Lazuardi escribió:
The access time is not in human readable time format, it's actually in the
first field of the line in the log file.


To make it human readable:


#! /usr/bin/perl -p
s/^\d+\.\d+/localtime $&/e;

http://wiki.squid-cache.org/SquidFaq/SquidLogs#head-903e00896639a4de9acf7a11b20b721eb3b64527


Thanks
Emilio C.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux