aboutsummaryrefslogtreecommitdiff
path: root/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 /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 'src')
-rw-r--r--src/common/stack_trace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/stack_trace.cpp b/src/common/stack_trace.cpp
index ce05b7e04..99e4bda2c 100644
--- a/src/common/stack_trace.cpp
+++ b/src/common/stack_trace.cpp
@@ -38,7 +38,7 @@
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "stacktrace"
-#define ST_LOG(x) CERROR(el::base::Writer,el::base::DispatchAction::FileOnlyLog,MONERO_DEFAULT_LOG_CATEGORY) << x
+#define ST_LOG(x) CINFO(el::base::Writer,el::base::DispatchAction::FileOnlyLog,MONERO_DEFAULT_LOG_CATEGORY) << x
// from http://stackoverflow.com/questions/11665829/how-can-i-print-stack-trace-for-caught-exceptions-in-c-code-injection-in-c