mlog: add msgwriter:INFO to log 0 and 1 defaults
This ensures command output gets logged by default
This commit is contained in:
parent
605ad09a3e
commit
9706938016
1 changed files with 2 additions and 2 deletions
|
@ -91,10 +91,10 @@ static const char *get_default_categories(int level)
|
||||||
switch (level)
|
switch (level)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
categories = "*:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO";
|
categories = "*:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO";
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
categories = "*:WARNING,global:INFO,stacktrace:INFO,logging:INFO";
|
categories = "*:WARNING,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO";
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
categories = "*:DEBUG";
|
categories = "*:DEBUG";
|
||||||
|
|
Loading…
Reference in a new issue