ความเห็น 1
Open your squid.conf and search for the line that starts with access_log or cache_access_log and looks like:
Code:
access_log /var/log/squid/access.log squidOf course the path to the logfile may vary in your case.
Note the last keyword (in this case squid, but it could be common, combined, squidmime). Then look for the line that starts with logformat and change "%ts.%03tu" with "%tl" fro local time or "%tg" fro GMT time. If the line does not exist you should add it. For the above example it should changed from:
Code:
logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %st %rm="" %ru="" %un="" %sh="" %a="" %mtto:=""
Code:
logformat squid %tl %6tr %>a %Ss/%03Hs %st %rm="" %ru="" %un="" %sh="" %a="" %mtyou="" can="" take="" a="" look="" at="" squid.conf.default="" that="" comes=""...