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; } ...@@ -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; } critical { lval.t = yytext; lval.i = LOG_UPTO(LOG_CRIT); return LOG_LEVEL; }
all { all {
lval.t = yytext; lval.t = yytext;
lval.i = LOG_UPTO(LOG_DEBUG); lval.i = LOG_UPTO(LOG_INFO);
fprintf(stderr, "Warning: log severity 'all'' is deprecated. " fprintf(stderr, "Warning: log severity 'all'' is no longer "
"Use 'debug' or 'info' instead.\n"); "supported. Using 'info' instead.\n");
return LOG_LEVEL; return LOG_LEVEL;
} }
......
...@@ -935,7 +935,7 @@ class Knot(Server): ...@@ -935,7 +935,7 @@ class Knot(Server):
s.begin("log") s.begin("log")
s.begin("stdout") s.begin("stdout")
s.item("any", "all") s.item("any", "info")
s.end() s.end()
s.begin("stderr") s.begin("stderr")
s.end() 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