location service fills disk with logs, needs to ship logrotate config

Bug #1447110 reported by Oliver Grawert on 2015-04-22
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical System Image
High
Thomas Voß
location-service (Ubuntu)
High
Thomas Voß

Bug Description

phablet@ubuntu-phablet:~$ ls -l /var/log/ubuntu-location-service/|wc -l
664
phablet@ubuntu-phablet:~$ sudo du -hcs /var/log/ubuntu-location-service/
22M /var/log/ubuntu-location-service/

seems location service never cleans up its logs, while they are small, the sheer amount over time occupies a lot of diskspace ...
ubuntu-location-service needs to ship a config in /etc/logrotate.d to make sure the log subdir gets regulary flushed.

Related branches

Oliver Grawert (ogra) on 2015-04-22
affects: location-service (Ubuntu) → canonical-devices-system-image
Oliver Grawert (ogra) on 2015-04-22
Changed in location-service (Ubuntu):
assignee: nobody → Oliver Grawert (ogra)
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
importance: Undecided → High
milestone: none → ww17-2015
status: New → Confirmed
Oliver Grawert (ogra) on 2015-04-22
Changed in location-service (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
milestone: ww17-2015 → ww21-2015
Changed in canonical-devices-system-image:
assignee: Canonical Phone Foundations (canonical-phonedations-team) → John McAleely (john.mcaleely)
milestone: ww21-2015 → none
Changed in location-service (Ubuntu):
assignee: Oliver Grawert (ogra) → Thomas Voß (thomas-voss)
Changed in canonical-devices-system-image:
assignee: John McAleely (john.mcaleely) → Thomas Voß (thomas-voss)
milestone: none → backlog
milestone: backlog → ww08-2016
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Changed in location-service (Ubuntu):
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
milestone: ww08-2016 → 11
Thomas Voß (thomas-voss) wrote :

I'm reducing the amount of logs generated by session::Skeleton such that issues in communicating updates to clients are only logged in verbose setups.

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
milestone: 11 → ww08-2016
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers