diff options
author | Matthew Fredrickson <creslin@digium.com> | 2005-12-02 23:52:00 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2005-12-02 23:52:00 +0000 |
commit | 6a6b88c0e33e0e60dbf8039d24d2e8815d194cae (patch) | |
tree | 75fab69c186d98c969cbea0506203f996ac5531b | |
parent | 0242a69b3f6f7bc9fa884d51f89988e3e3ef550d (diff) |
Fix all the warnings and errors for PRI to go to more logical places
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_zap.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 4f729f8ae..8902b57ae 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -7890,13 +7890,13 @@ static void zt_pri_message(struct pri *pri, char *s) } if ((dchan >= 0) && (span >= 0)) { if (dchancount > 1) - ast_verbose("[Span %d D-Channel %d]%s", span, dchan, s); + ast_log(LOG_DEBUG, "[Span %d D-Channel %d]%s", span, dchan, s); else - ast_verbose("%s", s); + ast_log(LOG_DEBUG, "%s", s); } else - ast_verbose("PRI debug error: could not find pri associated it with debug message output\n"); + ast_log(LOG_ERROR, "PRI debug error: could not find pri associated it with debug message output\n"); } else - ast_verbose("%s", s); + ast_log(LOG_DEBUG, "%s", s); ast_mutex_lock(&pridebugfdlock); @@ -7929,13 +7929,13 @@ static void zt_pri_error(struct pri *pri, char *s) } if ((dchan >= 0) && (span >= 0)) { if (dchancount > 1) - ast_log(LOG_WARNING, "[Span %d D-Channel %d] PRI: %s", span, dchan, s); + ast_log(LOG_ERROR, "[Span %d D-Channel %d] PRI: %s", span, dchan, s); else - ast_verbose("%s", s); + ast_log(LOG_ERROR, "%s", s); } else - ast_verbose("PRI debug error: could not find pri associated it with debug message output\n"); + ast_log(LOG_ERROR, "PRI debug error: could not find pri associated it with debug message output\n"); } else - ast_log(LOG_WARNING, "%s", s); + ast_log(LOG_ERROR, "%s", s); ast_mutex_lock(&pridebugfdlock); |