Add support for debug mode log and rollback notification and custom timeout