Add a massive set of changes for converting to use the ast_debug() macro.

(issue #9957, patches from mvanbaak, caio1982, critch, and dimas)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-06-14 19:39:12 +00:00
parent 60b029aa82
commit 055d82cbce
85 changed files with 1810 additions and 3068 deletions

View File

@@ -122,8 +122,7 @@ static int load_config(void)
if (tmp) {
usegmtime = ast_true(tmp);
if (usegmtime) {
if (option_debug)
ast_log(LOG_DEBUG, "logging time in GMT\n");
ast_debug(1, "logging time in GMT\n");
}
}
@@ -131,8 +130,7 @@ static int load_config(void)
if (tmp) {
loguniqueid = ast_true(tmp);
if (loguniqueid) {
if (option_debug)
ast_log(LOG_DEBUG, "logging CDR field UNIQUEID\n");
ast_debug(1, "logging CDR field UNIQUEID\n");
}
}
@@ -140,8 +138,7 @@ static int load_config(void)
if (tmp) {
loguserfield = ast_true(tmp);
if (loguserfield) {
if (option_debug)
ast_log(LOG_DEBUG, "logging CDR user-defined field\n");
ast_debug(1, "logging CDR user-defined field\n");
}
}