[asterisk-commits] trunk r16922 - /trunk/loader.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sat Apr 1 23:27:55 MST 2006
Author: tilghman
Date: Sun Apr 2 00:27:54 2006
New Revision: 16922
URL: http://svn.digium.com/view/asterisk?rev=16922&view=rev
Log:
Reduce debugging messages from WARNING to DEBUG
Modified:
trunk/loader.c
Modified: trunk/loader.c
URL: http://svn.digium.com/view/asterisk/trunk/loader.c?rev=16922&r1=16921&r2=16922&view=diff
==============================================================================
--- trunk/loader.c (original)
+++ trunk/loader.c Sun Apr 2 00:27:54 2006
@@ -375,18 +375,18 @@
/* print some debugging info for new modules */
if (m->state == MS_NEW &&
(m->cb.exported_symbols || m->cb.required_symbols))
- ast_log(LOG_WARNING,
+ ast_log(LOG_NOTICE,
"module %-30s exports %p requires %p state %s(%d)\n",
m->resource, m->cb.exported_symbols,
m->cb.required_symbols,
st_name(m->state), m->state);
}
- ast_log(LOG_WARNING, "---- fixup (%s): %d modules, %d new ---\n",
+ ast_log(LOG_DEBUG, "---- fixup (%s): %d modules, %d new ---\n",
caller, total, new);
for (;;cycle++) {
int again = 0; /* set if we need another round */
- ast_log(LOG_WARNING, "---- fixup: cycle %d ---\n", cycle);
+ ast_log(LOG_DEBUG, "---- fixup: cycle %d ---\n", cycle);
AST_LIST_TRAVERSE(&module_list, m, next) {
if (resolve(m))
again = 1; /* something changed */
@@ -417,7 +417,7 @@
if (!again) /* we are done */
break;
}
- ast_log(LOG_WARNING, "---- fixup complete ---\n");
+ ast_log(LOG_DEBUG, "---- fixup complete ---\n");
in_fixup--;
return 0;
}
More information about the asterisk-commits
mailing list