use logger methods so we can get line nums
fixed NPE when provisioning