Transaction log implementation