Azure streaming logs /5 (#26666)

* Azure streaming logs /5

* Azure streaming logs /5

* Azure streaming logs /5

* Azure streaming logs /5

* Azure streaming logs /5

* Azure streaming logs /5

* Azure streaming logs /5

* Azure streaming logs /5
pull/26663/head
Rick Anderson 2022-08-10 13:39:12 -10:00 committed by GitHub
parent c07af20acf
commit f4310a4d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

View File

@ -209,6 +209,25 @@ The [ASP.NET Core Module](xref:host-and-deploy/aspnet-core-module) is configured
[!INCLUDE [Azure App Service Preview Notice](~/includes/azure-apps-preview-notice.md)]
### Azure App Services Log stream
The Azure App Services Log streams logging information as it occurs. To view streaming logs:
1. In the Azure portal, open the app in **App Services**.
1. In the left pane, navigate to **Monitoring** > **App Service Logs**.
![App Service Logs](https://user-images.githubusercontent.com/3605364/183573538-80645002-d1c3-4451-9a2f-91ef4de4e248.png)
1. Select **File System** for **Web Server Logging**. Optionally enable **Application logging**.
![enable logging](https://user-images.githubusercontent.com/3605364/183529287-f63d3e1c-ee5b-4ca1-bcb6-a8c29d8b26f5.png)
1. In the left pane, navigate to **Monitoring** > **Log stream**, and then select **Application logs** or **Web Server Logs**.
![Monitoring Log stream](https://user-images.githubusercontent.com/3605364/183561255-91f3d5e1-141b-413b-a403-91e74a770545.png)
The following images shows the application logs output:
![app logs](https://user-images.githubusercontent.com/3605364/183528795-532665c0-ce87-4ed3-8e4d-4b374d469c2a.png)
Streaming logs have some latency and might not display immediately.
### Application Event Log (Azure App Service)
To access the Application Event Log, use the **Diagnose and solve problems** blade in the Azure portal: