syslog plugin truncates log messages on long queries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Confirmed
|
Medium
|
Mark Atwood |
Bug Description
The syslog plugin is truncating log messages if the query is too long:
full message:
Sep 2 20:02:29 mahmachine drizzled[4340]: thread_id=4 query_id=113982 db="test" query="SELECT table1 . `col_int_key` AS field1 FROM e AS table1 LEFT JOIN d AS table2 LEFT OUTER JOIN o AS tab
le3 ON table2 . `pk` = table3 . `col_int` ON table1 . `pk` = table3 . `pk` WHERE table1 . `pk` != 1 ORDER BY field1 ASC" command="Query" t_connect=
Sep 2 20:02:29 mahmachine drizzled[4340]: thread_id=4 query_id=113980 db="test" query="SELECT table4 . `col_int` AS field1 , table1 . `col_int_key` AS field2 , table1 . `col_int` AS field3 , table2 . `col_int` AS field4 , table3 . `col_int` AS field5 , COUNT( table2 . `col_int_key` ) AS field6 , table2 . `pk` AS field7 , table1 . `col_int_key` AS field8 , table2 . `col_int_key` AS field9 , table1 . `pk` AS field10 , MAX( table2 . `col_int` ) AS field11 FROM a AS table1 RIGHT OUTER JOIN g AS table2 ON table1 . `col_int_key` = table2 . `col_int_key` RIGHT OUTER JOIN b AS table3 LEFT JOIN c AS table4 LEFT OUTER JOIN o AS table5 LEFT JOIN k AS table6 ON table5 . `col_int_key` = table6 . `col_int_key` ON table4 . `col_varchar_
varchar_10` ON table1 . `col_varchar_
Changed in drizzle: | |
importance: | Undecided → Medium |
summary: |
- syslog plugin truncates log messages on long queries + After discussion with your doctor about your problem, get Ambien 10mg + online as per your medical need and budget. |
description: | updated |
summary: |
- After discussion with your doctor about your problem, get Ambien 10mg - online as per your medical need and budget. + syslog plugin truncates log messages on long queries |
description: | updated |
I can provide a proper test case if that would help - just let me know. That beast of a query was generated via randgen and could be a pita to do by hand : )