Azure-docs: How to set trace-levels?

Created on 23 Jan 2019  Â·  2Comments  Â·  Source: MicrosoftDocs/azure-docs

in the chapter "Writing trace output to the console" a setting of

{
    "tracing": {
        "consoleLevel": "verbose"
    }
} 

is mentioned for the host.json, however the referenced docs under https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json do not mention a "tracing"-setting.

Can someone please explain how setting the trace-level really works?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

azure-functionsvc cxp product-question triaged

All 2 comments

Hi @nils-a Thank you for your feedback! We will review and update as appropriate.

Hi @nils-a Tracing config via host.json is no longer available in Functions v2 and you may learn more about it here: All logging settings now live under "logging"

However, this configuration is still available in Functions v1. We have made changes to this documentation to clarify this detail better, and also, updated the link to point to host.json reference for Functions v1 as well. Thanks again for reporting this issue and helping us drive improvements towards MS Docs!

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

behnam89 picture behnam89  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments

jharbieh picture jharbieh  Â·  3Comments