print transaction logs to logfile.