diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-21 20:28:18 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-01-21 20:28:18 +0000 |
commit | a854cec3ba8003bc49f3b09c0e517531844ada68 (patch) | |
tree | 8c406ac7073216df75ff3486dc31a5c234937f7e /contrib | |
parent | Merge pull request #1585 (diff) | |
download | monero-a854cec3ba8003bc49f3b09c0e517531844ada68.tar.xz |
Make stack trace show up in log file with default settings
Diffstat (limited to 'contrib')
-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 37a15bbd5..ef9e26e6e 100644 --- a/contrib/epee/src/mlog.cpp +++ b/contrib/epee/src/mlog.cpp @@ -119,10 +119,10 @@ void mlog_set_log_level(int level) switch (level) { case 0: - settings = "*:FATAL,net*:FATAL,global:INFO,verify:FATAL"; + settings = "*:FATAL,net*:FATAL,global:INFO,verify:FATAL,stacktrace:INFO"; break; case 1: - settings = "*:WARNING,global:INFO"; + settings = "*:WARNING,global:INFO,stacktrace:INFO"; break; case 2: settings = "*:INFO"; |