From: Olle Johansson Date: Mon, 22 Feb 2010 13:52:34 +0000 (+0000) Subject: Don't log to debug unless debug is turned on X-Git-Tag: 1.4.30-rc3~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef93e3343efe0208f28cfc3178c653a65f472cd7;p=thirdparty%2Fasterisk.git Don't log to debug unless debug is turned on git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@248268 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index f05c4ef3aa..39b3a57f8d 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1847,7 +1847,9 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c close(fd); goto outrun; } - ast_log(LOG_DEBUG, "Placed channel %s in %s conf %d\n", chan->name, dahdi_chan_name, conf->zapconf); + if (option_debug) { + ast_log(LOG_DEBUG, "Placed channel %s in %s conf %d\n", chan->name, dahdi_chan_name, conf->zapconf); + } if (!sent_event) { manager_event(EVENT_FLAG_CALL, "MeetmeJoin",