1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Solganik Alexander 1a40dd535f Fixes #18712. Add rfc5424 log format for syslog.
Previously docker used obsolete rfc3164 syslog format for syslog. rfc3164 explicitly
uses semicolon as a separator between 'TAG' and 'Content' section of the log message.
Docker uses semicolon as a separator between image name and version tag.
When {{.ImageName}} was used as a tag expression and contained ":" syslog parser mistreated
"tag" part of the image name as syslog message body, which resulted in incorrect "syslogtag" been reported by syslog
daemon.
Use of rfc5424 log format partually fixes the issue as it does not use semicolon as a separator.
However using default rfc5424 syslog format itroduces backward incompatability because rsyslog template keyword  %syslogtag%
is parsed differently. In rfc3164 it uses the "TAG" part reported before the "pid" part. In rfc5424 it uses "appname" part reported
before the pid part, while tag part is introduced by %msgid% part.
For more information on rsyslog configuration properties see: http://www.rsyslog.com/doc/master/configuration/properties.html

Added two options to specify logging in either rfc5424, rfc3164 format or unix format omitting hostname in order to keep backwards compatability with
previous versions.

Signed-off-by: Solganik Alexander <solganik@gmail.com>
2016-03-09 22:31:11 +02:00
..
events Compare event nanoseconds properly to filter since a specific date. 2016-03-08 17:07:58 -05:00
exec Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
execdriver Merge pull request #18697 from jfrazelle/pids-cgroup 2016-03-08 14:03:36 -08:00
graphdriver Aufs: reduce redundant parsing of mountinfo 2016-03-04 11:39:59 +09:00
links Replace usage of pkg/nat with go-connections/nat. 2015-12-22 13:31:46 -05:00
logger Fixes #18712. Add rfc5424 log format for syslog. 2016-03-09 22:31:11 +02:00
network Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
archive.go Fix copy chown settings to not default to real root 2016-02-18 14:44:13 -08:00
archive_unix.go Remove package daemonbuilder. 2016-02-01 09:57:38 -08:00
archive_windows.go Remove package daemonbuilder. 2016-02-01 09:57:38 -08:00
attach.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
changes.go Rename Daemon.Get to Daemon.GetContainer. 2015-12-11 12:39:28 -05:00
commit.go Vendor engine-api to 70d266e96080e3c3d63c55a4d8659e00ac1f7e6c 2016-02-29 19:28:37 +08:00
config.go Avoid setting default truthy values from flags that are not set. 2016-02-19 18:39:10 -05:00
config_experimental.go Move userns support out of experimental into master 2016-01-08 15:06:22 -05:00
config_stub.go
config_test.go Verify that the configuration keys in the file are valid. 2016-01-21 16:56:12 -05:00
config_unix.go Windows: Add support for named pipe protocol 2016-02-01 19:46:30 -08:00
config_windows.go Windows: Add support for named pipe protocol 2016-02-01 19:46:30 -08:00
container_operations.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
container_operations_unix.go Merge pull request #18697 from jfrazelle/pids-cgroup 2016-03-08 14:03:36 -08:00
container_operations_windows.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
create.go validate log-opt when creating containers AGAIN 2016-03-02 20:30:26 +08:00
create_unix.go Ensure WORKDIR is created with remapped root ownership 2016-03-08 11:58:55 -05:00
create_windows.go Allow external volume drivers to host anonymous volumes and copy existing data from image. 2016-01-08 15:06:42 -05:00
daemon.go validate log-opt when creating containers AGAIN 2016-03-02 20:30:26 +08:00
daemon_experimental.go Move userns support out of experimental into master 2016-01-08 15:06:22 -05:00
daemon_linux.go Clean up container rootf mounts on daemon start fixes #19679 2016-02-03 20:52:32 -05:00
daemon_linux_test.go
daemon_stub.go Move userns support out of experimental into master 2016-01-08 15:06:22 -05:00
daemon_test.go Fix configuration reloading 2016-02-24 21:12:14 -05:00
daemon_unix.go Merge pull request #18697 from jfrazelle/pids-cgroup 2016-03-08 14:03:36 -08:00
daemon_unix_test.go Fix some typos in comments and strings 2016-02-22 20:27:15 +01:00
daemon_unsupported.go
daemon_windows.go Add CgroupDriver to docker info 2016-03-02 20:07:06 +08:00
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
delete.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
delete_test.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
discovery.go Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -05:00
discovery_test.go Fix minor vet warnings 2016-02-03 10:43:01 -08:00
errors.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
events.go Add the possibility to log event with specific attributes 2016-01-17 12:14:01 +01:00
events_test.go Add the possibility to log event with specific attributes 2016-01-17 12:14:01 +01:00
exec.go Vendor engine-api to 70d266e96080e3c3d63c55a4d8659e00ac1f7e6c 2016-02-29 19:28:37 +08:00
exec_unix.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
exec_windows.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
export.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
image_delete.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
images.go Fix image filter 2016-01-14 08:17:40 +00:00
import.go Fix docker import on compressed data 2016-02-16 11:19:23 -08:00
info.go Merge pull request #20730 from clnperez/sysinfo-match-ip-case 2016-03-03 08:48:57 -08:00
inspect.go Remove daemon dependency from api/server. 2016-02-10 15:16:59 -05:00
inspect_unix.go Remove daemon dependency from api/server. 2016-02-10 15:16:59 -05:00
inspect_windows.go Remove daemon dependency from api/server. 2016-02-10 15:16:59 -05:00
kill.go Do not wait for container on stop if the process doesn't exist. 2016-03-04 16:00:58 -05:00
links.go Add migration from sqlite links back to hostConfig 2016-01-11 11:31:29 -05:00
links_test.go Extract container store from the daemon. 2016-01-19 13:21:41 -05:00
list.go Enhancement of docker ps before and since filters 2016-02-25 16:58:31 +08:00
list_unix.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
list_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
logdrivers_linux.go daemon/logger: Add logging driver for Google Cloud Logging 2016-03-01 08:06:10 -08:00
logdrivers_windows.go Windows: Add ETW logging driver plug-in 2016-02-16 13:24:49 -08:00
logs.go validate log-opt when creating containers AGAIN 2016-03-02 20:30:26 +08:00
mounts.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
network.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
pause.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
README.md
rename.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
resize.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
restart.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
selinux_linux.go Rename daemon/utils_*.go to selinux 2015-11-12 15:48:41 -08:00
selinux_unsupported.go Rename daemon/utils_*.go to selinux 2015-11-12 15:48:41 -08:00
start.go Ensure WORKDIR is created with remapped root ownership 2016-03-08 11:58:55 -05:00
stats.go Move stream flushes to backend 2016-02-09 14:25:02 -05:00
stats_collector_unix.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
stats_collector_windows.go Move Container to its own package. 2015-12-03 17:39:49 +01:00
stats_freebsd.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
stats_linux.go pids limit support 2016-03-08 07:55:01 -08:00
stats_windows.go Modify import paths to point to the new engine-api package. 2016-01-06 19:48:59 -05:00
stop.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
top_unix.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
top_windows.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
unpause.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
update.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
volumes.go Do not relabel if user did not request it for non local volumes 2016-03-01 17:09:42 -05:00
volumes_unit_test.go reorder imports with goimports 2015-12-16 16:50:25 +01:00
volumes_unix.go Remove duplicated lazy volume initialization. 2016-01-13 11:22:31 -05:00
volumes_windows.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
wait.go Rename Daemon.Get to Daemon.GetContainer. 2015-12-11 12:39:28 -05:00

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver

Code pertaining to storing images:

  • graphdriver