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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 23 11:19:12 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16404 
====================================================================== 
Reported By:                pnlarsson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16404
Category:                   Addons/cdr_addon_mysql
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.4.27.1 
JIRA:                        
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-03-23 11:19 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-03-23 11:19 russell        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list