1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/sources
Lars Kellogg-Stedman 869ecba652 journald log driver: use CONTAINER_ID field for container id
This patch modifies the journald log driver to store the container ID in
a field named CONTAINER_ID, rather than (ab)using the MESSAGE_ID field.
Additionally, this adds the CONTAINER_ID_FULL field containing the
complete container ID and CONTAINER_NAME, containing the container name.

When using the journald log driver, this permits you to see log messages
from a particular container like this:

    # journalctl CONTAINER_ID=a9238443e193

Example output from "journalctl -o verbose" includes the following:

    CONTAINER_ID=27aae7361e67
    CONTAINER_ID_FULL=27aae7361e67e2b4d3864280acd2b80e78daf8ec73786d8b68f3afeeaabbd4c4
    CONTAINER_NAME=web

Closes: #12864
Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com>
2015-04-30 10:42:27 -04:00
..
article-img Merge pull request #11855 from nfirvine/master 2015-04-08 10:41:50 -07:00
articles Merge pull request #12574 from ahmetalpbalkan/docs/systemd-dir 2015-04-29 19:07:58 -04:00
docker-hub Rewrite Official Repositories page. 2015-04-28 00:37:17 -04:00
docker-hub-enterprise Copy over the DHE documentation for release to docs.docker.com 2015-04-24 12:39:58 +10:00
examples Makes headings in documentation consistent 2015-04-23 07:41:30 +02:00
include
installation Merge pull request #12814 from vbatts/vbatts-rhel_updates 2015-04-28 08:51:35 -07:00
introduction Makes headings in documentation consistent 2015-04-23 07:41:30 +02:00
project add initial docs for windows client testing 2015-04-27 21:21:53 -07:00
reference journald log driver: use CONTAINER_ID field for container id 2015-04-30 10:42:27 -04:00
static_files Fixing broken image 2015-03-10 20:47:06 -07:00
terms Rewrite Official Repositories page. 2015-04-28 00:37:17 -04:00
userguide Rewrite Official Repositories page. 2015-04-28 00:37:17 -04:00
examples.md Makes headings in documentation consistent 2015-04-23 07:41:30 +02:00
faq.md Fix minor typo 2015-03-16 19:50:52 +09:00
genindex.md
http-routingtable.md Makes headings in documentation consistent 2015-04-23 07:41:30 +02:00
index.md Makes headings in documentation consistent 2015-04-23 07:41:30 +02:00
installation.md installation on Joyent 2015-03-05 12:47:02 -08:00
jsearch.md
project.md Breaking out the project into more granular pieces 2015-03-12 22:27:49 -07:00
reference.md journald log driver: use CONTAINER_ID field for container id 2015-04-30 10:42:27 -04:00
release-notes.md Makes headings in documentation consistent 2015-04-23 07:41:30 +02:00
search.md
terms.md
toctree.md