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

Olaf Hering olaf at aepfle.de
Wed Sep 19 17:26:39 UTC 2012


Add more entries to the dump ground of logfile patterns.

Signed-off-by: Olaf Hering <olaf at 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




More information about the Libguestfs mailing list