[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] sysprep: remove apache2, audit and ntp in logfile operation



Add more entries to the dump ground of logfile patterns.

Signed-off-by: Olaf Hering <olaf aepfle de>

diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml
index 5e6ce7f..a2b1585 100644
--- a/sysprep/sysprep_operation_logfiles.ml
+++ b/sysprep/sysprep_operation_logfiles.ml
@@ -38,6 +38,10 @@ let globs = List.sort compare [
   "/var/log/spooler*";
   "/var/log/tallylog*";
   "/var/log/wtmp*";
+  "/var/log/apache2/*_log";
+  "/var/log/apache2/*_log-*";
+  "/var/log/audit/audit.log";
+  "/var/log/ntp";
 
   (* logfiles configured by /etc/logrotate.d/* *)
   "/var/log/BackupPC/LOG";
-- 
1.7.12


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]