mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 19:20:35 +00:00
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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user