logging & alerts for debugging