changed log to alert