Fixed compilation of per-thread per-tx-type monitoring using event log.