Adding in alert logging.