LightSquid and sqstat
-
Try to change /var/squid/log to /var/squid/logs in squid package, then Refresh Lightsquid ( squid must work some time )
I don't understand what you mean by working them independently, sorry…
Sorry for the Google translator. I meant that the work of the lightsquid does not depend from the sqstat.
-
You are right!
I saw the lightsquid.cfg and it now expects logs from /var/squid/logs!
For many months now, I've been using /var/squid/log by default and everything worked dandy then…
Now, I just copied the old log files to /var/squid/logs, pointed squid logging there and did a "Refresh full" on lightsquid settings. Works now! Thanks! :)
-
Great!
Path /var/squid/logs is default for current squid version, but previous LS used '/var/squid/log' as path.
Now this issue must be fixed. -
Hi sir i have same problem like this my lightsquid stop on updating. how can i edit the /var/squid/log to /var/squid/logs and where?
-
Hi sir i have same problem like this my lightsquid stop on updating. how can i edit the /var/squid/log to /var/squid/logs and where?
Services > Proxy server > Log store directory
Usually, after pkg installation need to check and save pkg settings. It seems this was not done.
-
it takes time to save the path from /var/squid/log to /var/squid/logs
-
^^You mean copying the log files? The time depends on the size of the files. I copied mine using an ssh session to the box, and it took only a couple of minutes.
-
How does everyone have their squid log rotation configured? Or do squid or lightsquid manage the log automatically?
For example, I had to copy all the files from my /var/squid/log folder to my /var/squid/logs folder. However, I've noticed in the /logs folder I have a series of files named:
access.log – THIS file is 100 MB+. Is this normal?
access.log.0 - access.log.6 - ranging from 9 MB to 22 MB eachand
cache.log - only about 726k
cache.log.0 - cache.log.6 - ranging from 680 bytes to just over 1k eachThanks in advance.
-
My log rotation is at 7 days. The typical size of my access.log is at 70MB+ on a good day.
If you have a lot of users doing web browsing, then your 100MB access.log would be normal. :)
-
My log rotation is at 7 days. The typical size of my access.log is at 70MB+ on a good day.
If you have a lot of users doing web browsing, then your 100MB access.log would be normal. :)
Incidentally, I only have (2) users in the house so my log file is probably unusually large or isn't rotating as it should be. Somehow i thought Lightsquid had a built-in log rotate function, but perhaps not. Where/how do you specifically configure your log to rotate x number of days? Thanks for your help.
-
So, sorry! I am only able to answer now… ;D
Log rotation is set under Squid (i.e. Proxy Server). Go to Services->Proxy Server->General->Log rotate.