diff options
author | Alexandros Frantzis <alexandros.frantzis@canonical.com> | 2015-10-20 10:50:44 +0300 |
---|---|---|
committer | Alexandros Frantzis <alexandros.frantzis@canonical.com> | 2015-10-20 10:50:44 +0300 |
commit | 602dcab686d32f2f78cb207bb3620d6d754791e8 (patch) | |
tree | c0cde4c91d15660ece62e93712116ffd7abf7ce1 /debian | |
parent | c4672bcc43ffbe5938681a6480a6abf58d034f66 (diff) | |
download | lightdm-602dcab686d32f2f78cb207bb3620d6d754791e8.tar.gz |
Use logrotate to handle files in the default log directory
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/lightdm.logrotate | 9 |
2 files changed, 14 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 36f20f84..a39bdb2d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,12 +1,16 @@ lightdm (1.17.0-0ubuntu1) UNRELEASED; urgency=medium * New upstream release: - - ... + - Don't backup system log files to *.old when starting. Handling of these + log files is now left to the system (e.g., through logrotate). * Build with multi-arch * debian/patches/xorg-1.17.patch: - Fix xserver-allow-tcp=true option not working with X.org 1.17 * data/apparmor/abstractions/lightdm_chromium-browser: cgroups support for guest sessions. (LP: #1504049, LP: #1464958) + * debian/lightdm.logrotate: + - Use logrotate to handle log files placed in the default system log + directory (/var/log/lightdm). -- Robert Ancell <robert.ancell@canonical.com> Mon, 12 Oct 2015 14:57:47 +0100 diff --git a/debian/lightdm.logrotate b/debian/lightdm.logrotate new file mode 100644 index 00000000..fed4a02b --- /dev/null +++ b/debian/lightdm.logrotate @@ -0,0 +1,9 @@ +/var/log/lightdm/*.log { + daily + missingok + rotate 7 + compress + notifempty + maxsize 10M + copytruncate +} |