[asterisk-bugs] [Asterisk 0012224]: Use ast_verb instead of ast_debug for channel driver debugging
noreply at bugs.digium.com
noreply at bugs.digium.com
Sun Mar 16 10:57:10 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12224
======================================================================
Reported By: DEA
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 12224
Category: Channels/chan_skinny
Reproducibility: always
Severity: tweak
Priority: normal
Status: feedback
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 108346
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 03-16-2008 01:44 CDT
Last Modified: 03-16-2008 10:57 CDT
======================================================================
Summary: Use ast_verb instead of ast_debug for channel driver
debugging
Description:
When turning on channel driver specific debugging (skinny set debug on),
it is cleaner to use ast_verb instead of ast_debug.
With core verbose set to 1, there is not a lot of output to the log
or console, but when core debug is set to 1 the logs can get quite
crowded.
MVanbaak-
I do not believe I can assign reports/tickets, so I leave it to
one of our administrators or bug marshalls to assign it to you.
======================================================================
----------------------------------------------------------------------
DEA - 03-16-08 10:57
----------------------------------------------------------------------
That almost works. The majority of the debug logging in chan_skinny,
as well as a number of other files, happen to be protected by channel/app
specific debug commands. So it would take two cli commands to produce
any output.
This patch semi-reverts one of the changes made when all logging was
converted to the ast_verb and ast_debug macros. Prior to that conversion
the majority of chan_skinny debug output was protected by 'skinny set
debug'
and used ast_verbose. After the conversion the same protected logging
statements were now ast_debug.
Issue History
Date Modified Username Field Change
======================================================================
03-16-08 10:57 DEA Note Added: 0084030
======================================================================
More information about the asterisk-bugs
mailing list