pCDN:Logfile

From NMSL
Revision as of 23:46, 26 February 2008 by Sry-csilop (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The pCDN server creates several log files:

  • server.log -- contains debugging info, access logs, and route info (gathered by ping and traceroute packets)
  • squid_access.log -- contains squid-like downloading logs

Upon a pCDN server is launched, a new server.log is created. We avoid name conflicts by suffixing an integer to the filenames, e.g., server.log.3. The squid_access files support log rotations: squid_access.log is the current log file, squid_access.log.1 (the most recent) through squid_access.log.6 (the least recent) are historical logs. The pCDN server, by default, keeps 7 historical log files and creates a new log file every 24-hr.