anonymous user When you are running locally and testing your application all the error will be disabled at the terminal. I have tested and didn't observe any issues. For logging you can refer to this
In the host.json I have defined as below:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
},
"logLevel": {
"Host.Triggers.Warmup": "Trace"
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[1.*, 2.0.0)"
}
}
Native Streaming logs would be a better option and if you want you can also configure the application Insights as mentioned in the monitoring function
If you are still facing the issue that the logs are not transferred to application insights or the logs are not visible in local while debugging then I wish to engage with you offline for a closer look and provide quick and specialized assistance, please send an email with the subject line “Attn:Mayank” to AzCommunity[at]Microsoft[dot]com referencing this thread along with the function app resource name and subscription ID.