diff options
author | Paul Belanger <paul.belanger@polybeacon.com> | 2011-02-04 16:55:39 +0000 |
---|---|---|
committer | Paul Belanger <paul.belanger@polybeacon.com> | 2011-02-04 16:55:39 +0000 |
commit | 3556e4c2d46e8f8d8480c08f9aae049a53f3a493 (patch) | |
tree | a3d1da6c10bc2730a0a579368a28f804a074c035 /pbx | |
parent | 9f65acf33e3cab60a9a4e635fe00e6abf2ddc561 (diff) |
Replace ast_log(LOG_DEBUG, ...) with ast_debug()
(closes issue #18556)
Reported by: kkm
Review: https://reviewboard.asterisk.org/r/1071/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rw-r--r-- | pbx/pbx_loopback.c | 2 | ||||
-rw-r--r-- | pbx/pbx_spool.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_loopback.c b/pbx/pbx_loopback.c index 9ab146398..e283127a0 100644 --- a/pbx/pbx_loopback.c +++ b/pbx/pbx_loopback.c @@ -76,7 +76,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") char *newpattern=NULL; \ loopback_subst(buf, sizeof(buf), exten, context, priority, data); \ loopback_parse(&newexten, &newcontext, &newpriority, &newpattern, buf); \ - ast_log(LOG_DEBUG, "Parsed into %s @ %s priority %d\n", newexten, newcontext, newpriority); \ + ast_debug(1, "Parsed into %s @ %s priority %d\n", newexten, newcontext, newpriority); \ if (!strcasecmp(newcontext, context)) return -1 static char *loopback_subst(char *buf, int buflen, const char *exten, const char *context, int priority, const char *data) diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c index bc832309b..b90866357 100644 --- a/pbx/pbx_spool.c +++ b/pbx/pbx_spool.c @@ -432,7 +432,7 @@ static int scan_service(const char *fn, time_t now) now += o->retrytime; if (o->callingpid && (o->callingpid == ast_mainpid)) { safe_append(o, time(NULL), "DelayedRetry"); - ast_log(LOG_DEBUG, "Delaying retry since we're currently running '%s'\n", o->fn); + ast_debug(1, "Delaying retry since we're currently running '%s'\n", o->fn); free_outgoing(o); } else { /* Increment retries */ |