1
0
Fork 0
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:
Michal Wieczorek 2016-08-15 22:25:05 +02:00
parent 4105cff4d8
commit eac70703e3
4 changed files with 3 additions and 8 deletions

View file

@ -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"
) )

View file

@ -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

View file

@ -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 {

View file

@ -1,3 +0,0 @@
// +build !linux
package syslog