Fix log_line_prefix to display the transaction id (%x) for statements not in a transaction block

Fix log_line_prefix to display the transaction id (%x) for statements not in a transaction block

Edit