Squid logging formats
| Squid | Content Gateway |
|---|---|
| time | cqts |
| elapsed | ttms |
| client | chi |
| action/code | crc/pssc |
| size | psql |
| method | cqhm |
| url | cquc |
| ident | caun |
| hierarchy/from | phr/pqsn |
| content | psct |
For example, if you want to create a custom format called short_sq based on the first three Squid fields, enter a line in the logs.config file as follows:
format:enabled:1:short_sq:%<cqts> %<ttms>
%<chi>:short_sq:ASCII:none
See Custom format for more information about defining custom log files.