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 committed by wowario
parent 46c05eb988
commit 9b9522614e
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

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