App Service - Log Stream prints the welcome message non stop

Stefan 11 Reputation points
2022-07-07T14:09:34.133+00:00

Hey, I was talking to Azure Support on Twitter and got recommended to come here. I'm having a problem where my app service Log Stream now just prints "Welcome, you are now connected to log-streaming service." constantly, 10 times a second or so.

It was working yesterday. Since then the changes I made were adding a deployment slot for staging, and changing the Log Retention (days) from 3 to 0. I am unable to see the application logs now. Can anyone advise? Thanks.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
851 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 17,456 Reputation points
    2022-07-12T05:37:53.88+00:00

    Hi @Stefan ,

    Thanks for bringing this to our attention. Are you still facing this issue? To see your application logs please try adding the AzureWebAppDiagnostics Logging provider by reading this Azure Doc: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-3.1

    Best,
    Grace

    1 person found this answer helpful.

  2. Quentin Mahieu 6 Reputation points
    2022-09-19T01:36:29.163+00:00

    Hi,

    I'm facing the same issue for the second time in less than 2 months.
    The log stream print the welcome message constantly.

    My web app is a cron-job python app using python 3.9 and Flask. And due to this issue the cron-jobs are not triggering. Nothing is happening but printing the welcome message 10 time a second

    The first time it resolved by itself playing around like @Stefan did.
    Now I can not resolve it.

    Any idea why this is happening?

    1 person found this answer helpful.
    0 comments No comments