aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index e7b7ab8bd..4844df98a 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1131,8 +1131,9 @@ static int queue_exec(struct ast_channel *chan, void *data)
}
}
}
- printf("queue: %s, options: %s, url: %s, announce: %s\n",
- queuename, options, url, announceoverride);
+ if (option_debug)
+ ast_log(LOG_DEBUG, "queue: %s, options: %s, url: %s, announce: %s\n",
+ queuename, options, url, announceoverride);
/* Setup our queue entry */
memset(&qe, 0, sizeof(qe));
qe.chan = chan;