mlog: do not display http errors by default

They're controllable by potential attackers and would just spam
This commit is contained in:
moneromooo-monero 2018-06-17 16:58:42 +01:00
parent 11dbfbc5b3
commit 4d52ec0ca4
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -97,7 +97,7 @@ static const char *get_default_categories(int level)
switch (level)
{
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.http:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO";
break;
case 1:
categories = "*:INFO,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO";