Missing commas with SQL log4cpp logging format

Bug #1408187 reported by Anuradha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Committed
Medium
Hans Zeller

Bug Description

 During UDF testing an issue was found with SQL log4cpp logging format where there were some missing commas

Tags: log4cpp
Revision history for this message
Hans Zeller (hans-zeller) wrote :

I'll try to fix this in R1.0, may update the milestone. If we don't make it, the UDF is tolerant of the missing commas and should still provide reasonable information.

Changed in trafodion:
assignee: Sandhya Sundaresan (sandhya-sundaresan) → Hans Zeller (hans-zeller)
status: New → Confirmed
Changed in trafodion:
milestone: r1.1 → r1.0
Revision history for this message
Hans Zeller (hans-zeller) wrote :

The two missing commas are for SQLCode and QueryId. The fix is to provide two QRLogger::log methods. One just takes a message and puts two NULL values (",,") for these two items into the log file. The second method has two more parameters, SQLCode and QueryId and allows the caller to log actual values for these. There are hundreds of calls to the first method in our code and only a handful of calls to the second method.

Changed in trafodion:
status: Confirmed → In Progress
Revision history for this message
Hans Zeller (hans-zeller) wrote :
Changed in trafodion:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.