An Azure service that provides an event-driven serverless compute platform.
I found the problem - I had copied the host.json from the example at docs https://learn.microsoft.com/en-us/azure/azure-functions/functions-dotnet-dependency-injection
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
},
"logLevel": {
"MyNamespace.HttpTrigger": "Information"
}
}
}
removing the "excludedTypes": "Request" allows the logged messages to appear in the application insights log; however, theu still do not appear in the log stream, even when setting the loglevel using the nameapce (as instructed above in the docs) or adding a default in the loglevel.