aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-24 09:42:49 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-24 10:34:52 +0100
commit599436a4520ad0371ee72fa138d17b1a52622d08 (patch)
tree5aa3afb5be88b2e6777b79b8d7a5ee33ff27a28c
parentMake msgwriter logs go to file only (diff)
downloadmonero-599436a4520ad0371ee72fa138d17b1a52622d08.tar.xz
mlog: default to msgwriter logs only for log level 1
There might be privacy issues doing it by default
-rw-r--r--contrib/epee/src/mlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp
index a51654d36..39661a1a0 100644
--- a/contrib/epee/src/mlog.cpp
+++ b/contrib/epee/src/mlog.cpp
@@ -91,7 +91,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.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO";
break;
case 1:
categories = "*:WARNING,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO";