package syslog

import "github.com/docker/docker/daemon/logger/syslog"

Package syslog provides the logdriver for forwarding server logs to syslog endpoints.

Index

Functions

func New

func New(ctx logger.Context) (logger.Logger, error)

New creates a syslog logger using the configuration passed in on the context. Supported context configuration variables are syslog-address, syslog-facility, & syslog-tag.

func ValidateLogOpt

func ValidateLogOpt(cfg map[string]string) error

ValidateLogOpt looks for syslog specific log options syslog-address, syslog-facility, & syslog-tag.

Source Files

syslog.go

Version
v1.9.0-rc5
Published
Nov 3, 2015
Platform
linux/amd64
Imports
13 packages
Last checked
14 seconds ago

Tools for package owners.