question

AzureSDE-8639 avatar image
0 Votes"
AzureSDE-8639 asked ·

Unable to update log level in host.json

Steps to reproduce:

  1. Set 'WEBSITE_RUN_FROM_PACKAGE' to 0 to allow host.json to be edited

  2. Edit the host.json by changing the default log level from 'Informaion' to 'Trace'

  3. Save the host.json

  4. All the functions disappear and unavailable.

My expectation is that the functions should be available. If I set the 'WEBSITE_RUN_FROM_PACKAGE' back to 1, the functions are now available. However, the change I made to the log level in host.json is all gone.





azure-functions
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AzureSDE-8639 avatar image
1 Vote"
AzureSDE-8639 answered ·

MSFT confirmed that this was by-design. I found a work around by following the instructions under 'Override host.json values' on this post (https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json).

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.