added logging statements around the instant alerts