Skip to content

Use new EventId for bad dev cert log #16720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 1, 2019
Merged

Conversation

halter73
Copy link
Member

@halter73 halter73 commented Oct 31, 2019

This is a follow up to #16659.

We are already using EventId 2 in HttpsConnectionMiddleware for handshake timeouts, so I made the bad dev cert log use a new EventId.

https://github.com/aspnet/AspNetCore/blob/e89f2f450263f865f20c2c7b77f4e30daedc7c47/src/Servers/Kestrel/Core/src/Middleware/HttpsConnectionMiddleware.cs#L206-L211

We could also continue to use EventId 1 instead since that was what we were using previously for generic AuthenticationExceptions.

@Pilchie Do I need to do anything special to get this approved for 3.1.0-preview3, or can I piggyback on the #16659 approval since it's just a fixup?

@halter73 halter73 added this to the 3.1.0-preview3 milestone Oct 31, 2019
@halter73 halter73 added the feature-platform Deprecated: Cross-cutting issues related to ASP.NET Core as a platform label Oct 31, 2019
@Tratcher
Copy link
Member

Hmm, needs a centralized list of log ids? (to consider in master)

@Pilchie
Copy link
Member

Pilchie commented Oct 31, 2019

Go ahead and merge. Thanks for catching.

@halter73 halter73 force-pushed the halter73/new-event-id branch from cdeff4c to 402b737 Compare October 31, 2019 23:35
Copy link
Contributor

@jkotalik jkotalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with @Tratcher but let's get this into 3.1.

@halter73 halter73 merged commit 57d21c4 into release/3.1 Nov 1, 2019
@halter73 halter73 deleted the halter73/new-event-id branch November 1, 2019 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-platform Deprecated: Cross-cutting issues related to ASP.NET Core as a platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants