Skip to content

Which event source should I listen to get authentication events ? #2604

@jpdurot

Description

@jpdurot

Hello,
I'm trying to debug a kerberos authnetication issue in production, I already got a trace of what's happening on SQL client library by listening to Microsoft.Data.SqlClient event source, but I would like to go one step further by getting events from the authentication phase. I could find some interesting events defined in https://github.com/dotnet/SqlClient/blob/main/src/Microsoft.Data.SqlClient/netcore/src/Common/src/System/Net/Logging/NetEventSource.Common.cs#L51 but there is no EventSource annotation on top of the class definition, so I have no idea which Event Source I should listen to, to get those events in my trace file.

Could you help me on that topic please ?
Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions