Unable to update log level in host.json

AzureSDE 126 Reputation points
2020-06-01T16:01:12.617+00:00

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
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
0 comments No comments
{count} votes

Answer accepted by question author
  1. AzureSDE 126 Reputation points
    2020-06-02T03:44:45.287+00:00

    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://learn.microsoft.com/en-us/azure/azure-functions/functions-host-json).

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.