Used in reference to the Microsoft.Diagnostics.Tracing.EventSource nuget library, which is the 'out-of-band' version of System.Diagnostics.Tracing.EventSource
Questions tagged [ms-tracing-eventsource]
10 questions
7
votes
1 answer
Is there no app tracing in mono?
Here is my project structure:
.
|-- app.config
|-- bin
| `-- Debug
|-- NLog.config
|-- NLog.xsd
|-- obj
| `-- Debug
|-- packages.config
|-- Program.cs
|-- Properties
| `-- AssemblyInfo.cs
|-- ServiceClient.csproj
`-- Web References
`--…

deostroll
- 11,661
- 21
- 90
- 161
2
votes
0 answers
How to disable stacks for EventSource events?
Using .Net Core 3.1
I've implemented my event source like this:
[EventSource(Name = "RequestStatistics-Events")]
public sealed class RequestEventsProvider : EventSource
{
public RequestEventsProvider() : base(throwOnEventWriteErrors: false)
…

bss
- 31
- 3
2
votes
0 answers
ETW Tracing: Log files are corrupted after few days of continuous tracing
We use ETW Custom EventSource (inherit from Microsoft.Diagnostics.Tracing.EventSource, Microsoft.Diagnostics.Tracing.EventSource.Redist.1.1.28 from NUGET) to instrument our application.
Our provider is enabled in a session which can capture the…

Balaji Narayana
- 21
- 1
2
votes
3 answers
Is it possible to get SLAB working with Microsoft.Diagnostics.Tracing.EventSource?
The official release notes say:
Improved compatibility with the EventSource nuget package
SLAB's source must be updated and rebuilt to work with the EventSource nuget package (which supports channels, but does not
support sampling). The process…

Benjol
- 63,995
- 54
- 186
- 268
1
vote
1 answer
How to store DateTime in EventSource via WriteEventCore
This is my current code:
[NonEvent]
unsafe void InsertViaWriteEventCore(
int eventId,
DateTime startDateTime,
DateTime endDateTime)
{
const int eventDataCount = 2;
{
EventData* data =…

Alfan
- 235
- 2
- 10
1
vote
1 answer
How to log and trace exceptions for .net application
I am tasked with logging and tracing exceptions in a .net application. The purpose is to have all data logged once the application is deployed. And information should be easily traceable to handle bugs. We are using azure services.
To make the…

Usama Aslam
- 437
- 7
- 18
1
vote
1 answer
How to properly define Keywords in Microsoft.Diagnostics.Tracing.EventSource?
I am using the Microsoft.Diagnostics.Tracing.EventSource nuget package to write events to the eventlog. When defining keywords in my custom class inheriting from EventSource like this:
public class Keywords
{
public const EventKeywords Page = (…

BdN3504
- 1,693
- 21
- 29
0
votes
1 answer
Microsoft.Diagnostics.EventFlow with Inputs.EventSource
I am trying to use EventSource with Microsoft.Diagnostics.EventFlow and I cannot make it output to the console. Here is an example where it works with Inputs.Trace but does not work with Inputs.EventSource:
myEventFLowConfig.json:
{
"type":…

tridy
- 1,166
- 1
- 12
- 21
0
votes
2 answers
EventSource, manifests, EventViewer & WS 2008 R2
I have a Microsoft.Diagnostics.Tracking.EventSource using Channel = EventChannel.Admin: the resulting manifest installs and works fine on the two W7 machines I've tried, but on 2008 R2, when I drill down in EventViewer, I get MMC snap-in errors, and…

Benjol
- 63,995
- 54
- 186
- 268
0
votes
1 answer
Microsoft.Diagnostics.Tracing.EventSource not respecting EventListener enabled keywords for None
I have an event source which derives from EventSource, and an event listener which derives from EventListener.
I call the event listener EnableEvents passing in the EventKeywords parameter, but the listener also gets called for any events with no…

Benjol
- 63,995
- 54
- 186
- 268