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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 7 07:09:39 CST 2009


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:                   minor
Priority:                   normal
Status:                     new
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:              2009-12-07 07:09 CST
====================================================================== 
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               
====================================================================== 
2009-12-07 07:09 pnlarsson      Summary                  Missing \n in logging
=> [patch] Missing \n in logging
======================================================================




More information about the asterisk-bugs mailing list