mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-14 11:11:35 +00:00
Log beginning of audit event processing.
This helps debugging slow scripts (e.g. using ClamAV).
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user