1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/admin
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
..
b2d_volume_images Creating Engine specific menu 2016-01-26 15:58:53 -08:00
logging Fixes #18712. Add rfc5424 log format for syslog. 2016-03-09 22:31:11 +02:00
ambassador_pattern_linking.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
b2d_volume_resize.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
cfengine_process_management.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
chef.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
configuring.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
dsc.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
host_integration.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
index.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
puppet.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
registry_mirror.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
runmetrics.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
systemd.md Fix incorrect alias for systemd docs 2016-02-05 16:18:26 +01:00
using_supervisord.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00