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.
This commit is contained in:
committed by
Yu Watanabe
parent
5dd34c2604
commit
3b703840d9
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user