Where can we check azure function startup logs in case of failure

Vipin Sharma 116 Reputation points
2022-03-09T08:26:51.63+00:00

Sometimes we are not able to start function application and we would to check logs to understand where was function app stuck.

is there any place we can find startup logs? In Diagnose and solve problems section we have Function App Down or Reporting category but that does not show any error.

Typically we face such issues when there is some networking error, e.g. function app is not able to connect with File share due to missing private end point and public access is not allowed

I am using Java based azure functions, premium app service plan.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,352 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,436 Reputation points
    2022-03-09T09:53:31.59+00:00

    @Vipin Sharma ,

    Thanks for reaching out to Q&A.

    You can look at the function invocation logs in the console log or under the monitor section of the sepecific function

    181328-image.png

    However if you are very specific about the function host startup operation logs, you will have to look into the Application insights. Under application insights, there are 2 options to explore

    Option 1: Transaction search -> filter for Traces under the event type

    181433-image.png

    Option 2. Run query in the log anlytics. Traces table will provide all the details

    181270-image.png

    I hope this helps!
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.