Merge pull request #13223 from Microsoft/10662-loggers

Windows: Factor out syslog and journald
This commit is contained in:
Brian Goff 2015-05-14 16:26:43 -04:00
commit a4592467e7
6 changed files with 17 additions and 0 deletions

View file

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

View file

@ -1,3 +1,5 @@
// +build linux
package journald
import (

View file

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

View file

@ -1,3 +1,5 @@
// +build linux
package syslog
import (

View file

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