Function has no invocation records or 'live' logs

ZZ 40 Reputation points
2025-01-27T15:58:57.8566667+00:00

My function app is configured as such but I don't get invocation records, or logs in the live streaming window. Logs can be found in application insights through 'table > traces'. What is wrong with my function or configuration?

When I click to see invocations, I see an empty list after 10:19 today, but that is wrong because I made lots of calls later, you can see this in the applications insights.

Screenshot from 2025-01-27 15-50-51

When I choose the Logs window like below, and then make a call to the function, I also do not get anything appearing in the window.

Screenshot from 2025-01-27 15-52-06

But as you can see, application insights can show all the logs if I click 'Table > Traces'

Screenshot from 2025-01-27 15-51-37

Function app json:

{
  "version": "2.0",
  "functionTimeout": "00:10:00",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": true,
        "excludedTypes": ""
      }
    },
    "logLevel": {
      "default": "Warning",
      "Function": "Information",
      "Host.Aggregator": "Trace",
      "Host.Results": "Error"
    },
    "extensions": {
      "queues": {
        "maxDequeueCount": 1
      }
    }
  },
  "extensionBundle": {
    "id": "Microsoft.Azure.Functions.ExtensionBundle",
    "version": "[4.*, 5.0.0)"
  }
}
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,389 questions
{count} votes

Your answer

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