Currently, I still have some existing Azure Function in 1.x version.
I plan to implement CICD to apply different log level for different environment
- dev, stage: Information
- prod: Error
For Function App 2.x, I am able to configure app setting in release during devops
- example: AzureFunctionsJobHost_logginglogLevel_Default: Error
For Function App 1.x, I am not able to find any example resource to achieve similar result.
By referring to structure of host.json in 1.x https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json-v1?tabs=2x-durable-functions#sample-hostjson-file
I follow the structure of key value pair. AzureFunctionsJobHost_loggercategoryFilter_defaultLevel
But that is not working.