Squid

To translate the timestamps in Squid’s access.log pipe the data through: perl -pe 's/^\d+\.\d+/localtime($&)/e;'
E.g. tail -f /var/log/squid/access.log | perl -pe 's/^\d+\.\d+/localtime($&)/e;'

Author: WladyX on 12 November, 2006
Category: Proxy
1 response to “Squid”
  1. teutzz says:

    sau pui sa tina log-urile in format apache … si nu te mai doare capu :P

Leave a Reply

Last articles