Public bug reported:

Binary package hint: kdm-kde4

Running Hardy (Kubuntu) 8.0.4.1, and I noticed that my /var/log/kdm.log
file had grown to over 10Gb.

In /etc/logrotate.d/kdm-kde4, the log file was pointing to:

/var/log/kdm-kde4.log {
        rotate 7
        daily
        compress
        delaycompress
        copytruncate
        missingok
        notifempty
}

Added a second section for:

/var/log/kdm.log {
        rotate 7
        daily
        compress
        delaycompress
        copytruncate
        missingok
        notifempty
}

then ran sudo logrotate -f /etc/logrotate.d/kdm-kde4 to force a
rotation.  I now have a 10Gb kdm.log.1 file and an empty kdm.log file.

The default log file in the config file should be corrected to point to
kdm.log.

** Affects: kdebase-workspace (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/var/log/kdm.log not being rotated
https://bugs.launchpad.net/bugs/253878
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to