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.
--- /dev/null
-#endif /* !LOG_FILE_H */
+ /*
+ * Copyright (C) 2015 Alexandros Frantzis
+ * Author: Alexandros Frantzis <alexandros.frantzis@canonical.com>
+ *
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
+ * license.
+ */
+
+ #ifndef LOG_FILE_H_
+ #define LOG_FILE_H_
+
+ #include <glib.h>
+
+ #include "log-mode.h"
+
+ int log_file_open (const gchar *log_filename, LogMode log_mode);
+
++#endif /* LOG_FILE_H_ */