dotnet / dotnet/docs

The table listing listener class missing "DefaultTraceListener" entry

Open
#48,559 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-framework/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

### Type of issue

Missing information

### Description

The table listing the "initializeData attribute value" for "Trace listener class"'s does not have a entry for "DefaultTraceListener". Running into a lot of Bing/CoPilot returns suggesting it is the log name, but doesn't work, and I can not find any definitive information; this table is the closest I have come across.

Maybe adding trace listeners from this class is "low value" given the other classes available? Is it bad form to use this class? Given the fact that there is instructions to use this class via code (vs. app.config) implies there is value in doing so; and hence knowing what are acceptable values for initializeData when going the app.config approach.

### Page URL

https://learn.microsoft.com/en-us/Dotnet/framework/configure-apps/file-schema/trace-debug/add-element-for-listeners-for-trace

### Content source URL

https://github.com/dotnet/docs/blob/main/docs/framework/configure-apps/file-schema/trace-debug/add-element-for-listeners-for-trace.md

### Document Version Independent Id

a2903838-7821-d2f5-4702-070f094593e3

### Platform Id

28d32e5e-a092-c009-04df-ddeb221c2067

### Article author

@gewarren

### Metadata

* ID: 5fe69d1b-20de-b2b9-4895-1857f52745c6
* PlatformId: 28d32e5e-a092-c009-04df-ddeb221c2067
* Service: **dotnet-framework**

[Related Issues](https://github.com/dotnet/docs/issues?q=is%3Aissue+is%3Aopen+a2903838-7821-d2f5-4702-070f094593e3)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.