[Bug 1078213] Re: logs are not logrotated

Chris Stratford chris.stratford at canonical.com
Thu Oct 2 07:57:47 UTC 2014


As an interim solution:

juju deploy cs:~chris-gondolin/trusty/logrotate
juju set logrotate='logfiles={"juju":{"path":"/var/log/juju/*.log"}}'


On 02/10/14 08:38, Haw Loeung wrote:
> ubuntu at juju-prod-XX-YYY-machine-0:/var/log/juju$ ls -la
> total 19790064
> drwxr-xr-x  2 syslog adm           4096 Oct  2 07:33 .
> drwxr-xr-x 11 root   root          4096 Oct  2 06:38 ..
> -rw-r--r--  1 syslog adm    11719171973 Oct  2 07:33 all-machines.log.1
> -rw-------  1 syslog syslog         879 Aug 18 20:17 ca-cert.pem
> -rw-r--r--  1 root   root          1757 Oct  2 07:33 machine-0.log
> -rw-r--r--  1 root   root    8545817300 Oct  2 07:32 machine-0.log.1
> -rw-------  1 syslog syslog         830 Aug 18 20:17 rsyslog-cert.pem
> -rw-------  1 syslog syslog         887 Aug 18 20:17 rsyslog-key.pem

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/1078213

Title:
  logs are not logrotated

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1078213/+subscriptions



More information about the Ubuntu-server-bugs mailing list