[asterisk-bugs] [Asterisk 0016404]: [patch] Missing \n in logging

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 4 12:37:32 CDT 2010


The following issue has been ASSIGNED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16404 
====================================================================== 
Reported By:                pnlarsson
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16404
Category:                   Addons/cdr_addon_mysql
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Target Version:             1.4.33
Asterisk Version:           SVN 
JIRA:                       SWP-1158 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 952 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-07 07:01 CST
Last Modified:              2010-05-04 12:37 CDT
====================================================================== 
Summary:                    [patch] Missing \n in logging
Description: 
When logging a failed query to the error log, the line is not terminated
with \n making it not wrap the line.

Added a line to log the actually failing SQL statment - this is visible it
debug is enabled but it's nice to see what went wrong i think.

This patch is against 1.4 but should be trivial to apply to trunk.
====================================================================== 

---------------------------------------------------------------------- 
 (0121347) svnbot (reporter) - 2010-05-04 12:37
 https://issues.asterisk.org/view.php?id=16404#c121347 
---------------------------------------------------------------------- 
Repository: asterisk-addons
Revision: 1113

U   branches/1.4/cdr/cdr_addon_mysql.c

------------------------------------------------------------------------
r1113 | tilghman | 2010-05-04 12:37:32 -0500 (Tue, 04 May 2010) | 6 lines

Log messages should be terminated with a newline.
(closes issue https://issues.asterisk.org/view.php?id=16404)
 Reported by: pnlarsson
 Patches: 
       cdr.patch uploaded by pnlarsson (license 79)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk-addons?view=rev&revision=1113 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-04 12:37 svnbot         Checkin                                      
2010-05-04 12:37 svnbot         Note Added: 0121347                          
2010-05-04 12:37 svnbot         Status                   ready for review =>
assigned
======================================================================




More information about the asterisk-bugs mailing list