Windows: Factor out syslog and journald

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 655a58e27bfcfd2494bb5d46f95cb49d655ad17a
Component: engine
This commit is contained in:
John Howard
2015-05-14 10:20:00 -07:00
parent 8de199cc5a
commit 38fd09288b
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