Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to log full URL in Squid3 ubuntu?

I'm installed Squid3 proxy into ubuntu server and everything is OK but when i check the log file, Squid logs url but if the url has a (?) his logging only what before ? mark and skip what after it.

Exp, if i tried to access this url : http://www.youtube.com/results?search_query=bmw

squid will log it as : http://www.youtube.com/results?

My ask here how can i configure squid3 to logging the full url ?

Thanks, Youssef

like image 797
Youssef Hanna Avatar asked Mar 31 '12 01:03

Youssef Hanna


1 Answers

Add this line to your squid.conf:

strip_query_terms off

More information here: strip_query_terms

like image 133
Diego Woitasen Avatar answered Sep 22 '22 18:09

Diego Woitasen