Skip to content

Commit 1800b10

Browse files
Put start/exec/create/remove events in debug to lower log spam
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
1 parent 769a9a6 commit 1800b10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/server/middleware/audit_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ func logAction(w http.ResponseWriter, r *http.Request, d *daemon.Daemon) error {
261261
// Log info messages at Debug Level
262262
// Log messages that change state at Info level
263263
switch action {
264-
case "history", "events", "stats", "search", "json", "version", "images", "info":
264+
case "start", "exec", "create", "remove", "history", "events", "stats", "search", "json", "version", "images", "info":
265265
logrus.Debug(message)
266266
default:
267267
logrus.Info(message)

0 commit comments

Comments
 (0)