Add logging to tlog files