From b19418f43c35797d6a53a0fe4666f297d67091b4 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Tue, 24 Dec 2024 08:25:31 +0100 Subject: [PATCH] update --- CHANGELOG.md | 1 + contrib/logwatch/radicale | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0592f66..d90d6c91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * Add: display mtime_ns precision of storage folder with condition warning if too less * Improve: disable fsync during storage verification * Improve: suppress duplicate log lines on startup +* Contrib: logwatch config and script ## 3.3.2 * Fix: debug logging in rights/from_file diff --git a/contrib/logwatch/radicale b/contrib/logwatch/radicale index 75243759..873ea064 100644 --- a/contrib/logwatch/radicale +++ b/contrib/logwatch/radicale @@ -1,6 +1,9 @@ # This file is related to Radicale - CalDAV and CardDAV server # for logwatch (script) # Copyright © 2024-2024 Peter Bieringer +# +# Detail levels +# >= 5: Logins, ResponseTimes $Detail = $ENV{'LOGWATCH_DETAIL_LEVEL'} || 0; @@ -98,7 +101,7 @@ if (keys %Requests) { } } -if ($Details >= 5 && keys %Requests) { +if ($Detail >= 5 && keys %Requests) { print "\n**Successful login counters**\n"; printf "%-25s | %7s |\n", "Login", "cnt"; print "-" x37 . "\n";