diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-06 13:18:04 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-07-06 13:18:04 +0100 |
commit | 9706938016ecea69a67d5265770273e27dba1892 (patch) | |
tree | 26697f38cb393140c8bfcd99aa3c752572884e7e /contrib/epee/src | |
parent | Merge pull request #2130 (diff) | |
download | monero-9706938016ecea69a67d5265770273e27dba1892.tar.xz |
mlog: add msgwriter:INFO to log 0 and 1 defaults
This ensures command output gets logged by default
Diffstat (limited to 'contrib/epee/src')
-rw-r--r-- | contrib/epee/src/mlog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp index 3be992374..40cb8448d 100644 --- a/contrib/epee/src/mlog.cpp +++ b/contrib/epee/src/mlog.cpp @@ -91,10 +91,10 @@ 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"; + categories = "*:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO"; break; case 1: - categories = "*:WARNING,global:INFO,stacktrace:INFO,logging:INFO"; + categories = "*:WARNING,global:INFO,stacktrace:INFO,logging:INFO,msgwriter:INFO"; break; case 2: categories = "*:DEBUG"; |