LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to see active downloading file log in squid? (http://www.linuxquestions.org/questions/linux-software-2/how-to-see-active-downloading-file-log-in-squid-4175460286/)

nabat1 05-01-2013 08:25 AM

How to see active downloading file log in squid?
 
I want to impose quota (limit how many GB can one use per month). I tried to use squish, but failed. I decided to write the program by analyzing /var/log/squid/access.log , but when I tested downloading a file (not visiting a page which adds GET or POST), there was no log in squid. So, I have problem and want to see how is it? Does Squid log the downloaded files? (like a zip)..
I am using squid in a embedded variant of fedora. squid -v shows "Squid Cache: Version 2.6.STABLE22".
Please help,

Thanks!

Lexus45 05-01-2013 11:37 AM

What if try some log analyzer? For example Sarg. It reads squid log file and generates nice reports, including downloaded files with IP addresses of clients.


All times are GMT -5. The time now is 11:51 AM.