mlog: default to msgwriter logs only for log level 1

There might be privacy issues doing it by default
This commit is contained in:
moneromooo-monero 2017-07-24 09:42:49 +01:00
parent 58f3fc68e4
commit 599436a452
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -91,7 +91,7 @@ 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,msgwriter:INFO"; categories = "*:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO";
break; break;
case 1: case 1:
categories = "*:WARNING,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO"; categories = "*:WARNING,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO";