aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-21 20:28:18 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-21 20:28:18 +0000
commita854cec3ba8003bc49f3b09c0e517531844ada68 (patch)
tree8c406ac7073216df75ff3486dc31a5c234937f7e /src/common
parentMerge pull request #1585 (diff)
downloadmonero-a854cec3ba8003bc49f3b09c0e517531844ada68.tar.xz
Make stack trace show up in log file with default settings
Diffstat (limited to 'src/common')
-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