added the logs for alerts