aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-22 11:41:38 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-22 11:41:38 -0500
commite12f073f6532f78ee4d94e1d343c80c830fc7a66 (patch)
treefdb355f666d16d049398132838370553c7921ec1 /contrib/epee/src
parentMerge pull request #1601 (diff)
parentMake stack trace show up in log file with default settings (diff)
downloadmonero-e12f073f6532f78ee4d94e1d343c80c830fc7a66.tar.xz
Merge pull request #1604
a854cec3 Make stack trace show up in log file with default settings (moneromooo-monero)
Diffstat (limited to 'contrib/epee/src')
-rw-r--r--contrib/epee/src/mlog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/src/mlog.cpp b/contrib/epee/src/mlog.cpp
index f1d74a2a3..d35fcf993 100644
--- a/contrib/epee/src/mlog.cpp
+++ b/contrib/epee/src/mlog.cpp
@@ -121,10 +121,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";