[asterisk-bugs] [Asterisk 0003302]: [patch] Debug mode in ztcfg no longer requires re-compile to activate, command line option added (twisted)
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 7 10:47:11 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=3302
======================================================================
Reported By: samudrahaque
Assigned To: markster
======================================================================
Project: Asterisk
Issue ID: 3302
Category: Core/General
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Asterisk Version: I did not set the version :(
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 01-09-2005 13:10 CST
Last Modified: 06-07-2008 10:47 CDT
======================================================================
Summary: [patch] Debug mode in ztcfg no longer requires
re-compile to activate, command line option added (twisted)
Description:
Hello in ztcfg.c, which is part of the zaptel package with the Makefile
information # $Id: Makefile,v 1.52.2.5 2004/12/26 23:59:53 russell Exp $
at line http://bugs.digium.com/view.php?id=58, the value of "debug" is set to 0.
There is actually no
command line option to enable this debug flag in the program, (and I
suspect many other similiar programs also share the same feature-less
debug), and in order to see the debug program output (see additional
information below), you need to manually recompile the program and then
running the program with "ztcfg -vv". I propose that a new flag 'd' be
added to enable on-demand debugging in this program, for those developers
who need to work with the FXO/FXS zonedata configuration and would like to
know what the low level ztcfg is doing with their statements rather than
having to 'dmesg' or tail /var/log/messages all the time.
======================================================================
----------------------------------------------------------------------
svnbot - 06-07-08 10:47
----------------------------------------------------------------------
Repository: dahdi
Revision: 535
U trunk/ztcfg.c
------------------------------------------------------------------------
r535 | markster | 2008-06-07 10:47:10 -0500 (Sat, 07 Jun 2008) | 2 lines
Make debug settable (thanks twisted, bug
http://bugs.digium.com/view.php?id=3302)
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=535
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 10:47 svnbot Checkin
06-07-08 10:47 svnbot Note Added: 0087989
======================================================================
More information about the asterisk-bugs
mailing list