custom

command
Version: v0.0.0-...-95fdf26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2016 License: MIT Imports: 2 Imported by: 0

README

Custom Logspout Builds

Forking logspout to change modules is unnecessary! Instead, you can create an empty Dockerfile based on gliderlabs/logspout:master and include a new modules.go file for the build context that will override the standard one.

This directory is an example of doing this. It pairs logspout down to just the syslog adapter and TCP transport. Note this means you can only create routes with syslog+tcp as the adapter.

It also shows you can take this opportunity to change default configuration by setting environment in the Dockefile. Here we change the syslog adapter format from the default of rfc5424 to old school rfc3164.

Now you just have to docker build with this Dockerfile and you'll get a custom logspout container image. No need to install Go, no need to maintain a fork.

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL