Add option to disable transaction logging