Skip to content

Remote connect timeout is quite low and not configurable #23

@mattsains

Description

@mattsains

https://github.com/hashicorp/go-syslog/blob/master/builtin.go#L27

If a remote connection cannot be established in under 50 milliseconds, the syslog client returns an i/o timeout error in DialLogger.

There is no way to configure this timeout, and it's rather low especially if the syslog daemon is far away (eg., over the internet).

Suggestion: It would be good to be able to configure this timeout when calling DialLogger. I suppose to avoid breaking comsumers, a new Dial function would need to be introduced that supports passing configuration like this.

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