From 98aba971add6325b4119d7739e1aeba64016bf35 Mon Sep 17 00:00:00 2001 From: nanotube Date: Thu, 20 Jul 2006 06:15:53 +0000 Subject: [PATCH] add options for deletion of old logfiles feature --- pykeylogger.ini | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pykeylogger.ini b/pykeylogger.ini index fcd57ef..ddc6546 100644 --- a/pykeylogger.ini +++ b/pykeylogger.ini @@ -69,4 +69,15 @@ smtpMessageBody=Please see attached zipfile. emailInterval=240 # specify the filename for the zip archive that will be emailed to you -zipArchiveName=logzip.zip \ No newline at end of file +zipArchiveName=logzip.zip + +[logmaintenance] + +# Set to True to enable automatic deletion of old logs +deleteOldLogs=False + +# Set to the maximum age of the logs that you want to keep, in days. Logs older than this will be deleted. (default of 2 days) +maxLogAge=2.0 + +# Set to the frequency of checking for and deleting logs older than maxLogAge, in hours. (default 2 hours) +ageCheckInterval=2 \ No newline at end of file -- 2.45.1