diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-22 13:52:34 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-22 13:52:34 +0000 |
commit | de36799d1736e14106078bbd9a488e68b36afef9 (patch) | |
tree | ee9c64cc92e251761ef0667ea3184d4f475119f9 /apps | |
parent | e869a146543ad042be087883c6f2bec5e26c3757 (diff) |
Don't log to debug unless debug is turned on
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@248268 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_meetme.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index f05c4ef3a..39b3a57f8 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", |