Tuesday, July 31, 2012

squid: add date and time to log file

to include date and time of access in your squid logs, place this in your squid.conf:

logformat squid %tl %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt

or this:

emulate_httpd_log on

whichever works for you. i use the latter. hehe

(source: http://www.linuxquestions.org/questions/linux-general-1/adding-date-and-time-to-squid-access-log-589410/)

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...