log beginning and end of transaction

Logging transaction boundaries makes it possible for log parsers to
group actions by transaction and detect failed transactions.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>