Description
Jira TRAFODION-2927 refactored the UPDATE STATISTICS logging logic to use the CommonLogger class. Unfortunately, this introduced a problem that sometimes causes cores in CommonLogger::buildMsgBuffer. The UPDATE STATISTICS code passes raw data via a "template" parameter to the logging layers. The logging layers interpret this template like a printf template. So, if the data happens to have a substring such as %d or %n in it, the logger code expects an additional argument to supply a substitution value for it. But none is supplied so we abend.
A workaround is to turn automatic logging off, e.g. by setting CQD USTAT_AUTOMATIC_LOGGING 'OFF' in the "MD".DEFAULTS table.
Attachments
Issue Links
- links to