adding some diagnostic logging (troubleshooting an issue in Azure)