Skip to content

Remove/Make Optional the message that gets printed when ignoreSslErrors = true #51

@mlfreeman2

Description

@mlfreeman2

I have a test install running at work and noticed something: even with ignoreSslErrors=true in my config a message is being printed to NLog internal logging.

I figure that if I'm not interested in SSL errors, nothing should be printed to NLog's internal log.

It seems to be coming from this line.

OnError(new HttpEventCollectorException(HttpStatusCode.NotAcceptable, reply: warning));

Perhaps you could refactor this into a warnOnSslErrors boolean as a separate option, or maybe turn the ignore boolean into an enum ("yes", "no", "warn").

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions