Skip to main content

Logs and Audit Evidence

SafeSquid logs prove who changed policy, what users accessed, which controls matched, and whether the proxy had enough capacity. Preserve these files before remediation. Reboots, rotation, compression, or emergency cleanup can remove the only evidence that explains a security incident.

Configuration audit logs

config.log records this legend:

Traffic and policy logs

extended.log records this legend:

Native troubleshooting logs

Native log verbosity is controlled by LOG_LEVEL:

Performance evidence

performance.log includes metrics for timestamps, elapsed time, client connections, transactions, thread pools, outbound connection pools, bytes in and out, cache object counts, DNS query reuse and failures, memory, connection deltas, load averages, process counts, and CPU time.

Privacy and process paths

Log rotation

SafeSquid log rotation controls large log files. The wiki states SafeSquid rotates logs when they exceed 1GB and compresses rotated logs with gzip. Before troubleshooting old events, check both active and rotated files.

Next steps