Skip to content

Commit 9419784

Browse files
authored
Update asp-net-trace-logs.md
1 parent f22f11d commit 9419784

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-monitor/app/asp-net-trace-logs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Send diagnostic tracing logs for your ASP.NET/ASP.NET Core application from ILog
2222

2323
## Install logging on your app
2424

25-
Install your chosen logging framework in your project, which should result in an entry in app.config or web.config.
25+
Install your chosen logging framework in your project, which should result in an entry in *app.config* or *web.config*.
2626

2727
```xml
2828
<configuration>
@@ -119,7 +119,7 @@ You can configure [System.Diagnostics.DiagnosticSource](https://github.com/dotne
119119
</Add>
120120
```
121121

122-
For each DiagnosticSource you want to trace, add an entry with the **Name** attribute set to the name of your DiagnosticSource.
122+
For each diagnostic source you want to trace, add an entry with the `Name` attribute set to the name of your diagnostic source.
123123

124124
## Use ETW events
125125

@@ -155,7 +155,7 @@ var telemetryClient = new TelemetryClient(configuration);
155155
telemetryClient.TrackTrace("Slow response - database01");
156156
```
157157

158-
An advantage of TrackTrace is that you can put relatively long data in the message. For example, you can encode POST data there.
158+
An advantage of `TrackTrace` is that you can put relatively long data in the message. For example, you can encode POST data there.
159159

160160
You can also add a severity level to your message. And, like other telemetry, you can add property values to help filter or search for different sets of traces. For example:
161161

@@ -197,7 +197,7 @@ You can, for example:
197197

198198
* Filter on log traces or on items with specific properties.
199199
* Inspect a specific item in detail.
200-
* Find other system log data that relates to the same user request (has the same OperationId).
200+
* Find other system log data that relates to the same user request (has the same operation ID).
201201
* Save the configuration of a page as a favorite.
202202

203203
> [!NOTE]
@@ -259,4 +259,4 @@ Perhaps your application sends voluminous amounts of data and you're using the A
259259
[exceptions]: asp-net-exceptions.md
260260
[portal]: https://portal.azure.com/
261261
[qna]: ../faq.yml
262-
[start]: ./app-insights-overview.md
262+
[start]: ./app-insights-overview.md

0 commit comments

Comments
 (0)