How to get access to log stream from Azure web app

Kristofer Arwidsson 0 Reputation points
2024-07-16T07:19:32.2566667+00:00

Hi,

"Unable to open a connection to your app. This may be due to any network security groups or IP restriction rules that you have placed on your app. To use log streaming, please make sure you are able to access your app directly from your current network.

2024-07-16T07:14:48 Welcome, you are now connected to log-streaming service. The default timeout is 2 hours. Change the timeout with the App Setting SCM_LOGSTREAM_TIMEOUT (in seconds)."

This is a new issue for me. Not possible to view the application logs for my web app in Azure.

It says something about IP restriction in the message, but signed in to Azure this makes no sense, or? Anyway I cannot find anything like IP allowance in the web app.

Please help.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,726 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 18,166 Reputation points MVP
    2024-07-16T10:01:19.2333333+00:00

    Hi,

    If it's a Windows Webapp, please make sure that the following settings are applied in App Service Logs section

    User's image

    If it's Linux based, check the following settings also:

    User's image


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.