mlog: add msgwriter:INFO to log 0 and 1 defaults

This ensures command output gets logged by default
This commit is contained in:
moneromooo-monero 2017-07-06 13:18:04 +01:00
parent 605ad09a3e
commit 9706938016
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -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";