package syslog
import "github.com/docker/docker/daemon/logger/syslog"
Package syslog provides the logdriver for forwarding server logs to syslog endpoints.
Index ¶
- func New(ctx logger.Context) (logger.Logger, error)
- func ValidateLogOpt(cfg map[string]string) error
Functions ¶
func New ¶
New creates a syslog logger using the configuration passed in on the context. Supported context configuration variables are syslog-address, syslog-facility, syslog-format.
func ValidateLogOpt ¶
ValidateLogOpt looks for syslog specific log options syslog-address, syslog-facility.
Source Files ¶
- Version
- v1.12.1
- Published
- Aug 18, 2016
- Platform
- linux/amd64
- Imports
- 15 packages
- Last checked
- 1 minute ago –
Tools for package owners.