squid should default to more human friendly timestamps
Bug #1780341 reported by
James Troup
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
squid (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
squid defaults to unix timestamps (i.e. seconds since 1970-01-01) in its log files. This is very unusual and very unfriendly to human admins who have to read log files. If upstream can't be convinced to change this then, in the interests of Ubuntu having good opinionated defaults, I think we should make the default timestamp format in Ubuntu be saner.
Related branches
lp://staging/~hloeung/ubuntu-repository-cache/squid-logging-human-sensible-timestamps
- Paul Collins: Approve (lgtm)
- Canonical IS Reviewers: Pending requested
-
Diff: 22 lines (+3/-2)1 file modifiedtemplates/squid-deb-proxy/squid-deb-proxy.conf (+3/-2)
Changed in squid (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Robie Basak (racb) |
To post a comment you must log in.
On a fresh 18.04 container after installing squid:
| root@temp- delete- me:~# head -n1 /var/log/ squid/access. log
| 1530832866.793 1 127.0.0.1 TAG_NONE/400 3918 GET / - HIER_NONE/- text/html