summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2012-09-19 19:26:39 +0200
committerRichard W.M. Jones <rjones@redhat.com>2012-09-19 21:05:29 +0100
commit245608a735027bbafee8306c3ae23c55ee4eeaa1 (patch)
treeef020f0779e83c0aa40426e7c281553482b1a771
parentae0f60744b7f20538f8b9945ef99301fa1ecfe45 (diff)
downloadlibguestfs-245608a735027bbafee8306c3ae23c55ee4eeaa1.tar.gz
libguestfs-245608a735027bbafee8306c3ae23c55ee4eeaa1.tar.xz
libguestfs-245608a735027bbafee8306c3ae23c55ee4eeaa1.zip
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>
-rw-r--r--sysprep/sysprep_operation_logfiles.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysprep/sysprep_operation_logfiles.ml b/sysprep/sysprep_operation_logfiles.ml
index 5e6ce7fe..a2b1585e 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";