You are able to configure azure function logging via host.json, and to tune logs for specific library as needed.
For example,
{
"version": "2.0",
"logging": {
"logLevel": {
"default": "Warning",
"Function": "Warning",
"Host.Results": "Warning",
"Host.Aggregator": "Warning",
"Azure.Core": "Error" // Example of configuring a specific library for error logs only
}
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[3.*, 4.0.0)"
},
"functionTimeout": "-1"
}
more information can be found here