HPCC-11627 Requesting per-query logging can cause roxie cores Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
@@ -873,6 +873,7 @@ public:
virtual void CTXLOGl(LogItem *logItem) const
{
// NOTE - we don't actually print anything to logfile here - was already printed on slave
+ CriticalBlock b(crit);
log.append(*logItem);
flush(false, false);
}