bootstrap rootdisk full - need to compress rotated logs

Bug #1539216 reported by mahmoh
This bug report is a duplicate of:  Bug #1494661: Rotated logs are not compressed. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

The Juju stat server is producing 500MB logs that are getting rotated by why aren't they getting compressed? I have 4+GB of logs on this machine:

ubuntu@OrangeBox84:~$ juju version
1.25.2-trusty-amd64

ubuntu@OrangeBox84:~$ juju ssh 0
...

ubuntu@node00vm0ob84:/var/log/juju$ du -sk *
273180 all-machines.log
524296 all-machines.log.1
524296 all-machines.log.2
44 juju-gui.log
4 logrotate.state
307204 machine-0-2016-01-25T18-39-03.950.log
307224 machine-0-2016-01-26T08-00-20.865.log
267396 machine-0.log
12 machine-0-lxc-0.log
12 machine-0-lxc-1.log
12 machine-0-lxc-2.log
12 machine-0-lxc-3.log
8 postgresql-0-debug.log
292912 unit-haproxy-0.log
307204 unit-juju-gui-0-2016-01-25T16-47-38.031.log
112496 unit-juju-gui-0.log
300140 unit-landscape-server-0.log
295324 unit-postgresql-0.log
298140 unit-rabbitmq-server-0.log

*****

Compression:
  before:
536872146 Jan 24 08:22 all-machines.log.1
  after:
28390899 Jan 24 08:22 all-machines.log.1.gz

*****

Root disk:

root@node00vm0ob84:/var/log/juju# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 20510312 19475404 0 100% /

Revision history for this message
mahmoh (mahmoh) wrote :
Revision history for this message
mahmoh (mahmoh) wrote :
Revision history for this message
mahmoh (mahmoh) wrote :

I have more logs if you need them, let me know soon please.

Revision history for this message
Cheryl Jennings (cherylj) wrote :

Seems to be a known limitation of gopkg.in/natefinch/lumberjack.v2

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0-beta1
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta1 → 2.0-beta2
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta2 → 2.0-beta3
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta3 → 2.0-beta4
Changed in juju-core:
milestone: 2.0-beta4 → 2.1.0
affects: juju-core → juju
Changed in juju:
milestone: 2.1.0 → none
milestone: none → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.