mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Windows: Factor out syslog and journald
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
7
daemon/logdrivers_windows.go
Normal file
7
daemon/logdrivers_windows.go
Normal 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"
|
||||
)
|
||||
@@ -1,3 +1,5 @@
|
||||
// +build linux
|
||||
|
||||
package journald
|
||||
|
||||
import (
|
||||
|
||||
3
daemon/logger/journald/journald_unsupported.go
Normal file
3
daemon/logger/journald/journald_unsupported.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// +build !linux
|
||||
|
||||
package journald
|
||||
@@ -1,3 +1,5 @@
|
||||
// +build linux
|
||||
|
||||
package syslog
|
||||
|
||||
import (
|
||||
|
||||
3
daemon/logger/syslog/syslog_unsupported.go
Normal file
3
daemon/logger/syslog/syslog_unsupported.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// +build !linux
|
||||
|
||||
package syslog
|
||||
Reference in New Issue
Block a user