Skip to content

Commit

Permalink
Merge pull request moby#13223 from Microsoft/10662-loggers
Browse files Browse the repository at this point in the history
Windows: Factor out syslog and journald
  • Loading branch information
cpuguy83 committed May 14, 2015
2 parents b2ad931 + 655a58e commit a459246
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 0 deletions.
File renamed without changes.
7 changes: 7 additions & 0 deletions daemon/logdrivers_windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package daemon

// Importing packages here only to make sure their init gets called and
// therefore they register themselves to the logdriver factory.
import (
_ "github.com/docker/docker/daemon/logger/jsonfilelog"
)
2 changes: 2 additions & 0 deletions daemon/logger/journald/journald.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build linux

package journald

import (
Expand Down
3 changes: 3 additions & 0 deletions daemon/logger/journald/journald_unsupported.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// +build !linux

package journald
2 changes: 2 additions & 0 deletions daemon/logger/syslog/syslog.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build linux

package syslog

import (
Expand Down
3 changes: 3 additions & 0 deletions daemon/logger/syslog/syslog_unsupported.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// +build !linux

package syslog

0 comments on commit a459246

Please sign in to comment.