aboutsummaryrefslogtreecommitdiffstats
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/logger.c b/logger.c
index 0ad5e3f9f..d0fe1287c 100644
--- a/logger.c
+++ b/logger.c
@@ -841,17 +841,17 @@ void ast_backtrace(void)
count = backtrace(addresses, 20);
strings = backtrace_symbols(addresses, count);
if (strings) {
- ast_log(LOG_WARNING, "Got %d backtrace record%c\n", count, count != 1 ? 's' : ' ');
+ ast_log(LOG_DEBUG, "Got %d backtrace record%c\n", count, count != 1 ? 's' : ' ');
for (i=0; i < count ; i++) {
- ast_log(LOG_WARNING, "#%d: [%08X] %s\n", i, (unsigned int)addresses[i], strings[i]);
+ ast_log(LOG_DEBUG, "#%d: [%08X] %s\n", i, (unsigned int)addresses[i], strings[i]);
}
free(strings);
} else {
- ast_log(LOG_WARNING, "Could not allocate memory for backtrace\n");
+ ast_log(LOG_DEBUG, "Could not allocate memory for backtrace\n");
}
free(addresses);
} else {
- ast_log(LOG_WARNING, "Could not allocate memory for backtrace\n");
+ ast_log(LOG_DEBUG, "Could not allocate memory for backtrace\n");
}
#else
#ifdef Linux