Limit admin alerts to logged messages.

Only send alerts if logs is written to DB.