Changed logs to alerts