Skip to content
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

feat: Enable startup logging to Event Log for all applications on Windows. #1969

Merged
merged 2 commits into from Oct 12, 2023

Conversation

tippmar-nr
Copy link
Member

Description

Enables configuration of the Event Log sink for Serilog during Agent startup when running on Windows in both .NET Framework and .NET 6+ applications.

Note that the Event Log sink will only write to the event log if the New Relic .NET Agent Event Source already exists or if the application is running with administrator privileges.

This change supersedes a previous commit (#4310e982) that was reverted.

@tippmar-nr tippmar-nr enabled auto-merge (squash) October 12, 2023 16:17
@tippmar-nr tippmar-nr merged commit cdac8b7 into main Oct 12, 2023
79 checks passed
@tippmar-nr tippmar-nr deleted the feat/serilog-event-log-netstandard branch October 12, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants