Нормальное время в логе squid

Автор | 27.05.2013
tail -n 5 access.log | perl -p -e 's/^([0-9]*)/"[".localtime($1)."]"/e'

[Mon May 27 14:15:08 2013].950  63112 10.10.54.12 TCP_MISS/503 1392 GET http://translate.googleapis.com/translate_a/l?  DIRECT/173.194.70.95 text/html
[Mon May 27 14:16:12 2013].110  63133 10.10.54.12 TCP_MISS/503 1392 GET http://translate.googleapis.com/translate_a/l?  DIRECT/173.194.70.95 text/html
[Mon May 27 14:17:21 2013].010  89461 10.10.54.12 TCP_MISS/504 1391 GET http://clients2.google.com/service/update2/crx?  DIRECT/173.194.35.3 text/html
[Mon May 27 14:19:50 2013].928   9964 10.10.54.12 TCP_MISS/000 0 POST http://safebrowsing.clients.google.com/safebrowsing/downloads?  DIRECT/safebrowsing.clients.google.com

Залишити відповідь