>Hi everyone,
>Im looking how to change the time that appears in the access.log to
make it friendlier. Where can I change the code to do it? Thanks for
answering
A shell script:
$ cat squidtime.sh
#!/bin/sh
perl -p -e 's/^([0-9]*)/"[".localtime($1)."]"/e'
This lets me do:
$ cat access.log | squidtime.sh | less
Received on Fri Sep 04 2009 - 18:50:53 MDT
This archive was generated by hypermail 2.2.0 : Mon Sep 07 2009 - 12:00:02 MDT