Skip to content

EventCollector should support HttpClientHandler for ServerCertificateValidationCallback #61

@vinayp0812

Description

@vinayp0812

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions