mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
mlog: do not display http errors by default
They're controllable by potential attackers and would just spam
This commit is contained in:
parent
11dbfbc5b3
commit
4d52ec0ca4
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,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.http:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO";
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
categories = "*:INFO,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO";
|
categories = "*:INFO,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO";
|
||||||
|
|
Loading…
Reference in a new issue