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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 10 06:52:47 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18282 
====================================================================== 
Reported By:                klaus3000
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   18282
Category:                   Core/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-11-09 07:21 CST
Last Modified:              2010-11-10 06:52 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'

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

---------------------------------------------------------------------- 
 (0128740) svnbot (reporter) - 2010-11-10 06:52
 https://issues.asterisk.org/view.php?id=18282#c128740 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 294502

_U  trunk/
U   trunk/main/devicestate.c

------------------------------------------------------------------------
r294502 | russell | 2010-11-10 06:52:47 -0600 (Wed, 10 Nov 2010) | 21
lines

Merged revisions 294501 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r294501 | russell | 2010-11-10 06:46:27 -0600 (Wed, 10 Nov 2010) | 14
lines
  
  Merged revisions 294500 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ........
    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=294502 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-10 06:52 svnbot         Checkin                                      
2010-11-10 06:52 svnbot         Note Added: 0128740                          
======================================================================




More information about the asterisk-bugs mailing list