downgrade OOM adjustment logging: verbose -> debug
This commit is contained in:
parent
f9eca249d4
commit
0c30ba91f8
|
@ -278,7 +278,7 @@ oom_adjust_setup(void)
|
||||||
verbose("error writing %s: %s",
|
verbose("error writing %s: %s",
|
||||||
oom_adj_path, strerror(errno));
|
oom_adj_path, strerror(errno));
|
||||||
else
|
else
|
||||||
verbose("Set %s from %d to %d",
|
debug("Set %s from %d to %d",
|
||||||
oom_adj_path, oom_adj_save, value);
|
oom_adj_path, oom_adj_save, value);
|
||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
@ -302,7 +302,7 @@ oom_adjust_restore(void)
|
||||||
if (fprintf(fp, "%d\n", oom_adj_save) <= 0)
|
if (fprintf(fp, "%d\n", oom_adj_save) <= 0)
|
||||||
verbose("error writing %s: %s", oom_adj_path, strerror(errno));
|
verbose("error writing %s: %s", oom_adj_path, strerror(errno));
|
||||||
else
|
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);
|
fclose(fp);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue