1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-09 09:57:26 +03:00

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.

(cherry picked from commit 3b703840d966b34bcf3b069a03e8cdfe7c1c2439)
This commit is contained in:
Jade Lovelace 2022-12-07 11:14:30 -08:00 committed by Zbigniew Jędrzejewski-Szmek
parent 4119d25e62
commit 0fdeb7c640

View File

@ -236,7 +236,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;
}