[asterisk-bugs] [Asterisk 0018282]: [patch] better debug message in devicestate.c
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Nov 10 06:41:42 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18282
======================================================================
Reported By: klaus3000
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18282
Category: Core/General
Reproducibility: always
Severity: tweak
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-11-09 07:21 CST
Last Modified: 2010-11-10 06:41 CST
======================================================================
Summary: [patch] better debug message in devicestate.c
Description:
This simple patch makes the debug output more meaningful (log string
instead of int) and consistent with the log messages before and
afterwards.
--- before ---
devicestate.c: Processing device state change for 'SIP/klaus2'
devicestate.c: Adding per-server state of 'Not in use' for 'SIP/klaus2'
devicestate.c: Aggregate devstate result is 1
devicestate.c: Aggregate state for device 'SIP/klaus2' has not changed
from 'Not in use'
--- after ---
devicestate.c: Processing device state change for 'SIP/klaus2'
devicestate.c: Adding per-server state of 'In use' for 'SIP/klaus2'
devicestate.c: Aggregate devstate result is 'In use' for 'SIP/klaus2'
devicestate.c: Aggregate state for device 'SIP/klaus2' has changed to 'In
use'
======================================================================
----------------------------------------------------------------------
(0128738) svnbot (reporter) - 2010-11-10 06:41
https://issues.asterisk.org/view.php?id=18282#c128738
----------------------------------------------------------------------
Repository: asterisk
Revision: 294500
U branches/1.6.2/main/devicestate.c
------------------------------------------------------------------------
r294500 | russell | 2010-11-10 06:41:41 -0600 (Wed, 10 Nov 2010) | 7 lines
Improve a debug message to be more readable and consistent.
(closes issue https://issues.asterisk.org/view.php?id=18282)
Reported by: klaus3000
Patches:
ast_devstate2str-patch.txt uploaded by klaus3000 (license 65)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=294500
Issue History
Date Modified Username Field Change
======================================================================
2010-11-10 06:41 svnbot Checkin
2010-11-10 06:41 svnbot Note Added: 0128738
======================================================================
More information about the asterisk-bugs
mailing list