Jump to content

Obsolete:Squid log migration system

From Wikitech
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains historical information. It may be outdated or unreliable.

Squid logs begin in /var/log/squid/access.log. Every 10 minutes, they are rotated to /var/log/squid/outgoing/. a script then runs, moving them to:

  • pmtpa -> fuchsia:/a/logs/incoming-pmtpa/
  • lopar -> fuchsia:/a/logs/incoming-lopar/
  • knams -> fuchsia:/a/logs/incoming/

they sit here until, every two hours, a script on fuchsia (/home/knshare/bin/runstats) merges them (/home/knshare/bin/movelogs), runs webalizer on them, then drops them into /a/logs/finished in gzip form. every 6 hours, a script is run to generate per-country stats from finished logs.

from this, we generate statistics:

  • FIXME: last update to /a/logs/finished was in July 2005. In September, this seems disused.
  • FIXME: Where is the script that runs these updates?