Azure-docs: What is the default "logger" configuration in an empty host.json?

Created on 5 Sep 2018  ·  10Comments  ·  Source: MicrosoftDocs/azure-docs

The documentation page at https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring does not mention what the default is...


Document Details

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

assigned-to-author azure-functionsvc doc-enhancement functionsvc triaged

Most helpful comment

@cliffkoh Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

All 10 comments

@cliffkoh Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

in this documentation the version 1.x seems to be used. For the version 2.x there is a host.json reference in place: https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json#logging

The feedback about the documentation gap was more, in the absence of any manual configuration, what the default logging behavior is...

@jeffhollan do you know if we default to debugOnly? It's not entirely clear in the host.json article(s).

Yes we default to debugOnly from what I understand @brettsam to confirm 👍

fileLoggingMode defaults to debugOnly, yes.

@cliffkoh Is the documentation in the host.json article sufficient?

@Karishma-Tiwari-MSFT or @mike-urnun-msft can you also please change the service label to azure-functions/svc? Thanks!

@ggailey777 It is good enough. Not sure if the info was there when I first opened this issue but a possible action item for improvement would just be to link to the defaults from https://docs.microsoft.com/en-us/azure/azure-functions/functions-host-json#logging

Thanks @cliffkoh. Let's #please-close this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

varma31 picture varma31  ·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  ·  3Comments

bdcoder2 picture bdcoder2  ·  3Comments

monteledwards picture monteledwards  ·  3Comments

paulmarshall picture paulmarshall  ·  3Comments