Skip to content

Commit 2c91c5f

Browse files
authored
Merge pull request moby#25736 from mwieczorek/25689-enable-syslog-driver-on-windows
Enable syslog driver for windows
2 parents 6221592 + eac7070 commit 2c91c5f

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

daemon/logdrivers_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ import (
77
_ "github.com/docker/docker/daemon/logger/etwlogs"
88
_ "github.com/docker/docker/daemon/logger/jsonfilelog"
99
_ "github.com/docker/docker/daemon/logger/splunk"
10+
_ "github.com/docker/docker/daemon/logger/syslog"
1011
)

daemon/logger/syslog/syslog.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// +build linux
2-
31
// Package syslog provides the logdriver for forwarding server logs to syslog endpoints.
42
package syslog
53

daemon/logger/syslog/syslog_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
// +build linux
2-
31
package syslog
42

53
import (
6-
syslog "github.com/RackSec/srslog"
74
"reflect"
85
"testing"
6+
7+
syslog "github.com/RackSec/srslog"
98
)
109

1110
func functionMatches(expectedFun interface{}, actualFun interface{}) bool {

daemon/logger/syslog/syslog_unsupported.go

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)