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

EventCollector should support HttpClientHandler for ServerCertificateValidationCallback #61

Open
vinayp0812 opened this issue Mar 4, 2022 · 0 comments

Comments

@vinayp0812
Copy link

vinayp0812 commented Mar 4, 2022

We don't want bypass certificate validation on global level. Please provide the support for handling this to specific http request.

Please find the below snippet for with serilog -

Log.Logger = new LoggerConfiguration().Enrich.WithProperty("RequestId", _requestId).Enrich.WithProperty("Environment", _environment)
.MinimumLevel.Information()
.WriteTo.Console()
.WriteTo.EventCollector("xyz", "abc", source: "Machine", sourceType: "sourceApp1", host: "AWS Lambda", index: "appIndex")
.CreateLogger();

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

No branches or pull requests

1 participant