You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the log/syslog package under windows and i've seen that it is not available, even when i tried to use it with a windows compatible protocol like udp.
After checking the sources i noticed that the package is not actually compiled for windows.
// +build !windows,!nacl,!plan9
I found a way to patch it. I compiled the syslog.go file for windows and moved the call to UnixSyslog in the syslog_unix.go file. This doesn't change the behaviour under a linux platform and permits the support of some protocols under windows.
I already have forked the package and patched/tested it.
Go Version : 1.4.x
OS & processor architecture : linux/amd64 and windows/amd64
The text was updated successfully, but these errors were encountered:
The log/syslog package in the standard library is frozen and probably shouldn't have been included in the standard library in the first place. See https://godoc.org/?q=syslog or community-maintained versions.
Hi,
I tried to use the log/syslog package under windows and i've seen that it is not available, even when i tried to use it with a windows compatible protocol like udp.
After checking the sources i noticed that the package is not actually compiled for windows.
I found a way to patch it. I compiled the syslog.go file for windows and moved the call to UnixSyslog in the syslog_unix.go file. This doesn't change the behaviour under a linux platform and permits the support of some protocols under windows.
I already have forked the package and patched/tested it.
Go Version : 1.4.x
OS & processor architecture : linux/amd64 and windows/amd64
The text was updated successfully, but these errors were encountered: