Changed debug log file filename and moved TransactionAccepted and Reason
out of if