change alerts to log