Do not initalize default providers until checking the web config, add a trace log provider for azure to prevent logging to app data.