From 3b703840d966b34bcf3b069a03e8cdfe7c1c2439 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Wed, 7 Dec 2022 11:14:30 -0800 Subject: [PATCH] oomd: print dry run output at INFO level Otherwise, the dry run isn't much use since it would be logged at debug and not seen. --- src/oom/oomd-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oom/oomd-util.c b/src/oom/oomd-util.c index 7291e044eb..f97b771c50 100644 --- a/src/oom/oomd-util.c +++ b/src/oom/oomd-util.c @@ -242,7 +242,7 @@ int oomd_cgroup_kill(const char *path, bool recurse, bool dry_run) { if (r < 0) return r; - log_debug("oomd dry-run: Would have tried to kill %s with recurse=%s", cg_path, true_false(recurse)); + log_info("oomd dry-run: Would have tried to kill %s with recurse=%s", cg_path, true_false(recurse)); return 0; } -- 2.25.1