Search code examples
debuggingazureloggingsettings

Azure: Application logs are switched off. You can turn them on using the 'Diagnostic logs' settings


This is hopefully a quick question.

I've got a Microsoft Azure Web Application.

If I navigate to the following location within my webapp in portal.azure.com:

Microsoft Azure > Browse > All resources > (MY APP) > Tools > Streaming logs

I get the error message:

Application logs are switched off. You can turn them on using the 'Diagnostic logs' settings.

However, it gives me no reference on where I go to do this. Checking under "Application Settings" for the application I do not see anything that matches this name, and I haven't found any of the "logging" settings to work to enable this "Streaming Logs".

Can anyone, please help point me to how I turn this on?


Solution

  • Turn it on here:

    Azure -> App Service -> App Service logs -> Application Logging (Filesystem) -> ON
    

    Then for 12 hours you can view it here:

    Azure -> App Service -> Log stream
    

    enter image description here