diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-24 09:42:49 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-24 10:34:52 +0100 |
commit | 599436a4520ad0371ee72fa138d17b1a52622d08 (patch) | |
tree | 5aa3afb5be88b2e6777b79b8d7a5ee33ff27a28c /contrib/epee/src/mlog.cpp | |
parent | Make msgwriter logs go to file only (diff) | |
download | monero-599436a4520ad0371ee72fa138d17b1a52622d08.tar.xz |
mlog: default to msgwriter logs only for log level 1
There might be privacy issues doing it by default
Diffstat (limited to 'contrib/epee/src/mlog.cpp')
-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 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"; |