downgrade OOM adjustment logging: verbose -> debug
This commit is contained in:
1 parent
f9eca249d4
commit
0c30ba91f8
1 file changed
+2
-2
@@ -278,7 +278,7 @@ oom_adjust_setup(void)
|
||||
verbose("error writing %s: %s",
|
||||
oom_adj_path, strerror(errno));
|
||||
else
|
||||
verbose("Set %s from %d to %d",
|
||||
debug("Set %s from %d to %d",
|
||||
oom_adj_path, oom_adj_save, value);
|
||||
}
|
||||
fclose(fp);
|
||||
@@ -302,7 +302,7 @@ oom_adjust_restore(void)
|
||||
if (fprintf(fp, "%d\n", oom_adj_save) <= 0)
|
||||
verbose("error writing %s: %s", oom_adj_path, strerror(errno));
|
||||
else
|
||||
verbose("Set %s to %d", oom_adj_path, oom_adj_save);
|
||||
debug("Set %s to %d", oom_adj_path, oom_adj_save);
|
||||
|
||||
fclose(fp);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user