hashicorp / hashicorp/go-syslog

Remote connect timeout is quite low and not configurable

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
69
Forks
18
Avg merge
23h 10m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.