summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/apt.logrotate8
-rw-r--r--doc/examples/configure-index1
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/apt.logrotate b/debian/apt.logrotate
index 3e924d383..dfb06db2e 100644
--- a/debian/apt.logrotate
+++ b/debian/apt.logrotate
@@ -6,3 +6,11 @@
notifempty
}
+/var/log/apt/history.log {
+ rotate 6
+ monthly
+ compress
+ missingok
+ notifempty
+}
+
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index f5f996460..eaea6511c 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -307,6 +307,7 @@ Dir "/"
// Location of the logfile
Log "var/log/apt" {
Terminal "term.log";
+ History "history.log";
};
};