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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 3 15:40:40 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:                     ready for review
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-03 15:40 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-03 15:40 lmadsen        Asterisk Version         1.4.27.1 => SVN     
2010-05-03 15:40 lmadsen        Assigned To               => tilghman        
2010-05-03 15:40 lmadsen        Target Version            => 1.4.33          
2010-05-03 15:40 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list