Skip to content

Commit da363b6

Browse files
authored
Update enable-logging-for-msal-microsoft-graph.md
1 parent f609be1 commit da363b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

support/entra/entra-id/users-groups-entra-apis/enable-logging-for-msal-microsoft-graph.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Enable logging for MSAL.NET and Microsoft Graph SDK
2+
title: Enable Logging for MSAL.NET and Microsoft Graph SDK
33
description: Introduces how to enable logging for both MSAL.NET and Microsoft Graph SDK.
44
ms.reviewer: bachoang, v-weizhu
55
ms.service: entra-id
6-
ms.date: 07/08/2025
6+
ms.date: 07/16/2025
77
ms.custom: sap:Problem with using the Graph SDK - libraries
88
ms.topic: how-to
99
---
@@ -90,11 +90,11 @@ The complete sample code is available in this [GitHub repository](https://github
9090
}
9191
```
9292

93-
The sample application uses both a `GET` and `POST` requests to show logging the complete HTTP requests and responses, including headers and body. The following four helper functions are used to get the information for each part. Any function can be commented out if the corresponding information isn't required.
93+
The sample application uses both `GET` and `POST` requests to show logging of the complete HTTP requests and responses, including headers and body. The following four helper functions are used to get the information for each part. Any function can be commented out if the corresponding information isn't required.
9494

9595
:::image type="content" source="media/enable-logging-for-msal-and-microsoft-graph/helper-functions.png" alt-text="Screenshot that shows four helper functions":::
9696

97-
These helper functions are used in the logging `HttpClient` message handler as shown below. Requests are logged before calling the `DelegatingHandler.SendAsync` method and responses are logged after the call.
97+
These helper functions are used in the logging `HttpClient` message handler as shown here. Requests are logged before calling the `DelegatingHandler.SendAsync` method and responses are logged after the call.
9898

9999
```csharp
100100
public class SeriLoggingHandler : DelegatingHandler
@@ -163,12 +163,12 @@ IPublicClientApplication publicClientApplication = PublicClientApplicationBuilde
163163
After you run the sample application, Microsoft Graph requests and responses should appear in:
164164

165165
- The console window.
166-
- The directory location configured in the `appsettings.json` file. Log file names include the date, as shown below:
166+
- The directory location configured in the `appsettings.json` file. Log file names include the date, as shown here:
167167

168168
:::image type="content" source="media/enable-logging-for-msal-and-microsoft-graph/local-microsoft-graph-logs.png" alt-text="Screenshot that shows local logs":::
169169

170170
For Azure Blob Storage logging, the logs are in the `msallogs` and `msgraphlogs` containers:
171171

172172
:::image type="content" source="media/enable-logging-for-msal-and-microsoft-graph/azure-blob-storage-logs.png" alt-text="Screenshot that shows Azure Blob Storage logs":::
173173

174-
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
174+
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]

0 commit comments

Comments
 (0)