hashicorp / hashicorp/go-syslog
Remote connect timeout is quite low and not configurable
Open
- 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
Assessment
This issue has not been assessed yet.