squid / squid-deb-proxy logrotate only 2 days
Bug #1912131 reported by
Haw Loeung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
Fix Released
|
High
|
Haw Loeung |
Bug Description
Hi,
The shipped out squid-deb-proxy logrotate config only keeps 2 days worth of logs. It makes debugging issues hard when you come to it after 2 days to find the logs you're interested in aren't there.
We should fix this.
Related branches
lp:~hloeung/ubuntu-repository-cache/squid-logrotate
- Barry Price: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 162 lines (+89/-39)5 files modifiedlib/ubuntu_repository_cache/service.py (+9/-7)
templates/logrotate/apache2-logrotate.conf.tmpl (+21/-32)
templates/logrotate/squid-deb-proxy-logrotate.conf.tmpl (+24/-0)
templates/logrotate/squid-logrotate.conf.tmpl (+21/-0)
templates/logrotate/ubuntu-repository-sync-logrotate.conf.tmpl (+14/-0)
Changed in ubuntu-repository-cache: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-repository-cache: | |
status: | Fix Committed → Fix Released |
summary: |
- squid-deb-proxy logrotate only 2 days + squid / squid-deb-proxy logrotate only 2 days |
To post a comment you must log in.
Also, the logging is messed up with access logs going to /var/log/squid and cache or error logs to /var/log/ squid-deb- proxy.