Log beginning of audit event processing.

This helps debugging slow scripts (e.g. using ClamAV).
This commit is contained in:
Catherine
2025-12-05 03:41:22 +00:00
parent 8c29ba3fe7
commit 8eeaf222ca

View File

@@ -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)