From 8eeaf222ca882046dcc09c33dc6eef53a16c353c Mon Sep 17 00:00:00 2001 From: Catherine Date: Fri, 5 Dec 2025 03:41:22 +0000 Subject: [PATCH] Log beginning of audit event processing. This helps debugging slow scripts (e.g. using ClamAV). --- src/audit.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/audit.go b/src/audit.go index f1e8cde..89dfacd 100644 --- a/src/audit.go +++ b/src/audit.go @@ -217,6 +217,8 @@ func AuditEventProcessor(command string, args []string) (http.Handler, error) { logc.Printf(ctx, "audit process err: malformed query\n") http.Error(w, "malformed query", http.StatusBadRequest) return + } else { + logc.Printf(ctx, "audit process %s", id) } record, err := backend.QueryAuditLog(ctx, id)