Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in host.json provided for logging #62189

Closed
kinetiq opened this issue Sep 7, 2020 · 1 comment
Closed

Error in host.json provided for logging #62189

kinetiq opened this issue Sep 7, 2020 · 1 comment

Comments

@kinetiq
Copy link

kinetiq commented Sep 7, 2020

The host.json provided for setting up logging shows errors in Visual Studio. It's on the samplingExcludedTypes line and the error is: Object shouldn't contain additional properties.

Googling the error brought me to: #47219

So, consider this update:

{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"excludedTypes": "Request",
"isEnabled": true
}
},
"logLevel": {
"MyNamespace.HttpTrigger": "Information"
}
}
}


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@PramodValavala-MSFT
Copy link
Member

@kinetiq Thanks for catching that! We have worked up a PR to address this, which once merged should reflect in a couple of hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants