diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-17 16:58:42 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-14 09:23:00 +0000 |
commit | 4d52ec0ca473fb9ca0868be1afb4c23d4aa06e9b (patch) | |
tree | e2f26fd7278bf16dfe211f086e7d78f9a8bac072 /contrib/epee/src/mlog.cpp | |
parent | Merge pull request #4342 (diff) | |
download | monero-4d52ec0ca473fb9ca0868be1afb4c23d4aa06e9b.tar.xz |
mlog: do not display http errors by default
They're controllable by potential attackers and would just spam
Diffstat (limited to '')
-rw-r--r-- | contrib/epee/src/mlog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp index 818fc0a69..cd9867ff5 100644 --- a/contrib/epee/src/mlog.cpp +++ b/contrib/epee/src/mlog.cpp @@ -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"; |