Billy.Zheng(zw963) schreef op 08-04-16 16:51:
2. I need a common startup script for squid to start. simply enough, I add one line in my crontab '@reboot /usr/local/bin/start_squid' `start_squid' is a bash script for start squid correctly.
3. i want to record log to file, for some net analysis. I am not a linux administrator, less experience for logger, i hope spend minimum cost to achieve a sysetm logger like service. function included following: - rotately automatically. - can be output real time if need.
You do know squid outputs to its own logfile right? Normally it would output to /var/log/squid. If you have it installed under /usr/local it could for instance be /usr/local/squid/var/log/squid Or any of the kind. You get to specify those directories when you compile. I think they are ./configure options. Regards. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org