0

How to view squid logs in human readable format

when i try to check squid access log the format of the log file in not poper visible format.. is any CLI commands to check squid access log in human readable format..?

Squid Add a comment
owen
asked Sep 21 2017

Answer

0

i found one of the perl based CLI command to view squid logs in human readable format.

# perl -pe 's/[\d.]+/localtime($&)/e' /var/log/squid/access.log

Add a comment
arunkumarak
asked Sep 21 2017
edited Oct 05 2018
Post your Answer