[asterisk-commits] murf: branch 1.6.1 r140750 - in /branches/1.6.1: ./ main/cdr.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 2 18:46:35 CDT 2008
Author: murf
Date: Tue Sep 2 18:46:34 2008
New Revision: 140750
URL: http://svn.digium.com/view/asterisk?view=rev&rev=140750
Log:
Merged revisions 140749 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r140749 | murf | 2008-09-02 17:44:04 -0600 (Tue, 02 Sep 2008) | 11 lines
Merged revisions 140747 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r140747 | murf | 2008-09-02 17:36:56 -0600 (Tue, 02 Sep 2008) | 1 line
I am turning the warnings generated in ast_cdr_free and post_cdr into verbose level 2 messages. Really, they matter little to end users. You either get the CDR's you wanted, or you don't, and it is a bug.
For trunk, I am going one step further. These messages were pretty worthless even for debug, so I'm completely removing them.
........
................
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/main/cdr.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/main/cdr.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/main/cdr.c?view=diff&rev=140750&r1=140749&r2=140750
==============================================================================
--- branches/1.6.1/main/cdr.c (original)
+++ branches/1.6.1/main/cdr.c Tue Sep 2 18:46:34 2008
@@ -431,13 +431,6 @@
while (cdr) {
struct ast_cdr *next = cdr->next;
- char *chan = S_OR(cdr->channel, "<unknown>");
- if (!ast_test_flag(cdr, AST_CDR_FLAG_POSTED) && !ast_test_flag(cdr, AST_CDR_FLAG_POST_DISABLED))
- ast_log(LOG_NOTICE, "CDR on channel '%s' not posted\n", chan);
- if (ast_tvzero(cdr->end))
- ast_log(LOG_NOTICE, "CDR on channel '%s' lacks end\n", chan);
- if (ast_tvzero(cdr->start))
- ast_log(LOG_NOTICE, "CDR on channel '%s' lacks start\n", chan);
ast_cdr_free_vars(cdr, 0);
ast_free(cdr);
@@ -1017,10 +1010,6 @@
chan = S_OR(cdr->channel, "<unknown>");
check_post(cdr);
- if (ast_tvzero(cdr->end))
- ast_log(LOG_WARNING, "CDR on channel '%s' lacks end\n", chan);
- if (ast_tvzero(cdr->start))
- ast_log(LOG_WARNING, "CDR on channel '%s' lacks start\n", chan);
ast_set_flag(cdr, AST_CDR_FLAG_POSTED);
if (ast_test_flag(cdr, AST_CDR_FLAG_POST_DISABLED))
continue;
More information about the asterisk-commits
mailing list