mirror of https://github.com/docker/docs.git
Windows: Factor out syslog and journald
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
fe6f77df2c
commit
655a58e27b
|
@ -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"
|
||||||
|
)
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build linux
|
||||||
|
|
||||||
package journald
|
package journald
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
// +build !linux
|
||||||
|
|
||||||
|
package journald
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build linux
|
||||||
|
|
||||||
package syslog
|
package syslog
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
// +build !linux
|
||||||
|
|
||||||
|
package syslog
|
Loading…
Reference in New Issue