Share via

Where in Azure Portal can I find the logs of my Azure Functions?

Kim Strasser 2,416 Reputation points
2026-03-06T14:23:04.4133333+00:00

I deployed my Azure Functions project but I don´t know where to find the logs after my Azure functions got executed.

Screenshot 2026-03-06 152113

Is it possible to see the logs(Warning or Information) in Azure Portal while I´m debugging my Azure Functions in Visual Studio?

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


Answer accepted by question author
  1. Pravallika KV 13,545 Reputation points Microsoft External Staff Moderator
    2026-03-06T14:31:56.9533333+00:00

    Hi @Kim Strasser ,

    Thanks for the offline conversation. Glad the issue is resolved.

    The setting:

    AzureFunctionsJobHost__logging__logLevel__default=Warning
    

    is an environment variable used by Azure Functions to control the default log level for the Functions host.

    If you have a host.json setting for logLevel.default, this environment variable takes precedence in Azure App Settings.

    Setting it to Warning helps reduce unnecessary Information or Debug logs, which can:

    • Lower Application Insights costs
    • Reduce noise in production logs

    You can check couple of places in the Portal where you can watch the logs:

    1. Log streaming (“live” console output)
    • In the Azure Portal, navigate to your Function App
    • In the left-hand menu under Monitoring, click Log stream
    • You’ll see the real-time output (Information, Warning, Error) from your functions as they execute

    image

    1. Application Insights
    • Make sure you’ve turned on Application Insights for your Function App (via the Instrumentation Key or Connection String in Configuration =>Application settings)
    • Open the linked Application Insights resource, go to Logs, and run a query over the traces (or exceptions) table to see past invocations and log levels
    • You can also use Live Metrics Stream for a near-real-time view of incoming telemetry

    image

    1. Monitor blade (invocation summary)
    • In your Function App, click Monitor in the left menu to see a history of executions, durations, success/failures and link into Application Insights if enabled.

    Note: if you're stepping through code locally in Visual Studio, those Debug.Write/ILogger outputs appear in your local console window, not in the Portal. You'll need to publish/deploy (or attach an Application Insights SDK locally) for the Portal blades above to pick them up.

    Hope that helps!

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-06T14:23:23.3633333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    In the Azure portal, function execution logs can be viewed in two main ways:

    1. Built-in log streaming (per‑instance)
      1. Open the Azure portal and go to the Function App.
      2. In the Function App blade, go to Platform features (or Monitoring section, depending on UI).
      3. Select Log streaming under Monitoring.
      4. This shows a live stream of all log output (Information, Warning, Error, etc.) from the running functions on a single instance.
    2. Live Metrics / Application Insights (recommended)
      1. Ensure the Function App is connected to Application Insights.
      2. In the Function App, open the linked Application Insights resource.
      3. Use Live Metrics Stream to see near real‑time logs and metrics from all instances.
      4. Use the normal Application Insights views and queries to analyze stored telemetry.

    For local debugging from Visual Studio:

    • When running the Functions project locally, logs are streamed directly to the local console (via Azure Functions Core Tools).
    • When the same project is deployed and running in Azure, Visual Studio Code can attach to streaming logs using the command palette command Azure Functions: Start streaming logs, which connects to the Function App’s streaming logs in Azure.

    These mechanisms allow viewing Warning/Information logs in near real time while the functions execute in Azure; local debugging logs are visible in the local console, and when connected to Azure streaming logs they can be observed from the development environment as well.


    References:

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.