Summary: | ASTERISK-15284: [patch] Missing \n in logging | ||
Reporter: | Niklas Larsson (pnlarsson) | Labels: | |
Date Opened: | 2009-12-07 07:01:57.000-0600 | Date Closed: | 2010-05-04 12:37:33 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Addons/cdr_mysql |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cdr.patch | |
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. | ||
Comments: | By: Digium Subversion (svnbot) 2010-05-04 12:37:32 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 ASTERISK-15284) Reported by: pnlarsson Patches: cdr.patch uploaded by pnlarsson (license 79) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=1113 |