[asterisk-bugs] [Asterisk 0018282]: [patch] better debug message in devicestate.c

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 9 07:21:35 CST 2010


The following issue has been UPDATED. 
====================================================================== 
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-09 07:21 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'

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-09 07:21 klaus3000      Summary                  better debug message in
devicestate.c => [patch] better debug message in devicestate.c
======================================================================




More information about the asterisk-bugs mailing list