[asterisk-commits] trunk r10195 - /trunk/logger.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Feb 15 10:37:58 MST 2006


Author: mogorman
Date: Wed Feb 15 11:37:57 2006
New Revision: 10195

URL: http://svn.digium.com/view/asterisk?rev=10195&view=rev
Log:
changed log_warning to log_debug for backtrace
messages

Modified:
    trunk/logger.c

Modified: trunk/logger.c
URL: http://svn.digium.com/view/asterisk/trunk/logger.c?rev=10195&r1=10194&r2=10195&view=diff
==============================================================================
--- trunk/logger.c (original)
+++ trunk/logger.c Wed Feb 15 11:37:57 2006
@@ -841,17 +841,17 @@
 		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



More information about the asterisk-commits mailing list