add #region operation error to access custom.turn_onoff_log table