mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Enable syslog driver for windows
Signed-off-by: Michal Wieczorek <wieczorek-michal@wp.pl>
This commit is contained in:
parent
4105cff4d8
commit
eac70703e3
4 changed files with 3 additions and 8 deletions
|
@ -7,4 +7,5 @@ import (
|
||||||
_ "github.com/docker/docker/daemon/logger/etwlogs"
|
_ "github.com/docker/docker/daemon/logger/etwlogs"
|
||||||
_ "github.com/docker/docker/daemon/logger/jsonfilelog"
|
_ "github.com/docker/docker/daemon/logger/jsonfilelog"
|
||||||
_ "github.com/docker/docker/daemon/logger/splunk"
|
_ "github.com/docker/docker/daemon/logger/splunk"
|
||||||
|
_ "github.com/docker/docker/daemon/logger/syslog"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// +build linux
|
|
||||||
|
|
||||||
// Package syslog provides the logdriver for forwarding server logs to syslog endpoints.
|
// Package syslog provides the logdriver for forwarding server logs to syslog endpoints.
|
||||||
package syslog
|
package syslog
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
// +build linux
|
|
||||||
|
|
||||||
package syslog
|
package syslog
|
||||||
|
|
||||||
import (
|
import (
|
||||||
syslog "github.com/RackSec/srslog"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
syslog "github.com/RackSec/srslog"
|
||||||
)
|
)
|
||||||
|
|
||||||
func functionMatches(expectedFun interface{}, actualFun interface{}) bool {
|
func functionMatches(expectedFun interface{}, actualFun interface{}) bool {
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
// +build !linux
|
|
||||||
|
|
||||||
package syslog
|
|
Loading…
Reference in a new issue