Commit 63022901 authored by Daniel Salzman's avatar Daniel Salzman

log: fix log configuration in tests-extra

parent ff23ec47
......@@ -168,9 +168,9 @@ error { lval.t = yytext; lval.i = LOG_UPTO(LOG_ERR); return LOG_LEVEL; }
critical { lval.t = yytext; lval.i = LOG_UPTO(LOG_CRIT); return LOG_LEVEL; }
all {
lval.t = yytext;
lval.i = LOG_UPTO(LOG_DEBUG);
fprintf(stderr, "Warning: log severity 'all'' is deprecated. "
"Use 'debug' or 'info' instead.\n");
lval.i = LOG_UPTO(LOG_INFO);
fprintf(stderr, "Warning: log severity 'all'' is no longer "
"supported. Using 'info' instead.\n");
return LOG_LEVEL;
}
......
......@@ -935,7 +935,7 @@ class Knot(Server):
s.begin("log")
s.begin("stdout")
s.item("any", "all")
s.item("any", "info")
s.end()
s.begin("stderr")
s.end()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment