diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2015-10-22 16:07:32 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2015-10-22 16:07:32 +1300 |
commit | 4d4d2599688984c053dae2637407d9c0c9e65968 (patch) | |
tree | 60ceb5a368df86b16dafe883357992298956aafd /src/seat.c | |
parent | 50e86ea07632c556fa060208181303f16ad30481 (diff) | |
parent | 602dcab686d32f2f78cb207bb3620d6d754791e8 (diff) | |
download | lightdm-git-4d4d2599688984c053dae2637407d9c0c9e65968.tar.gz |
Use logrotate to handle files in the default log directory.
This change introduces support for log rotation using the logrotate tool for
file in the default log directory (/var/log/lightdm). To support this
scenario, existing system log files are not moved to *.old when starting.
Diffstat (limited to 'src/seat.c')
-rw-r--r-- | src/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -614,7 +614,7 @@ start_session (Seat *seat, Session *session) log_filename = g_build_filename (log_dir, filename, NULL); g_free (log_dir); g_free (filename); - session_set_log_file (session, log_filename); + session_set_log_file (session, log_filename, LOG_MODE_APPEND); g_free (log_filename); } |