Added file logging of mysql transactions