summaryrefslogtreecommitdiff
path: root/src/oom
diff options
context:
space:
mode:
authorJade Lovelace <jadel@mercury.com>2022-12-07 11:14:30 -0800
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-08 09:26:57 +0900
commit3b703840d966b34bcf3b069a03e8cdfe7c1c2439 (patch)
treef9538e7c2d8403346c4945d12ffb35e578084752 /src/oom
parent5dd34c2604567320707625bc009cf01c3769605f (diff)
downloadsystemd-3b703840d966b34bcf3b069a03e8cdfe7c1c2439.tar.gz
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.
Diffstat (limited to 'src/oom')
-rw-r--r--src/oom/oomd-util.c2
1 files changed, 1 insertions, 1 deletions
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;
}