Python script to grep squid logs

Lee Harr missive at frontiernet.net
Thu Apr 15 11:15:11 EDT 2004


> I am a newby python user, I want to create a script which will go
> through the squid log file and return me all the URL's accessed(i.e
> www.bbc.com). Is RE the way to go?
>


Not sure if this is just a programming exercise, or if you
want to get some work done... in any case you might want to
look at these:

http://www.squid-cache.org/Scripts/
http://www.mnot.net/squij/




More information about the Python-list mailing list