1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-21 18:03:41 +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)
(cherry picked from commit 0fdeb7c6408c785e15b729e51bf04ef359601376)
This commit is contained in:
Jade Lovelace 2022-12-07 11:14:30 -08:00 committed by Zbigniew Jędrzejewski-Szmek
parent 9070c9f2f3
commit 8c1683a0e7

View File

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