How to log what transaction group is doing

Hi,

We have a bunch of transaction group running and from time to time, it get back the wrong data (plc to db). As groups are running only 3 times a day (shifts), we want to capture the transaction in the logger. How can we do it ?