Support service discovery environment variables as created by kubernetes - add troubleshooting logging