From e1f8e68792b07c542bda258cbef4d700fd3100ec Mon Sep 17 00:00:00 2001 From: Igor Karpovich Date: Thu, 14 Dec 2017 23:45:19 +0000 Subject: [PATCH] Logentries log driver update (#5427) Documentation updated to include new option described in moby/moby#31726 together with later changes from moby/moby#35626 Released in 17.09 --- engine/admin/logging/logentries.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/engine/admin/logging/logentries.md b/engine/admin/logging/logentries.md index 551aa1b11e..e37171f6a6 100644 --- a/engine/admin/logging/logentries.md +++ b/engine/admin/logging/logentries.md @@ -12,6 +12,7 @@ The `logentries` logging driver sends container logs to the Some options are supported by specifying `--log-opt` as many times as needed: - `logentries-token`: specify the logentries log set token + - `line-only`: send raw payload only Configure the default logging driver by passing the `--log-driver` option to the Docker daemon: @@ -46,3 +47,11 @@ You need to provide your log set token for logentries driver to work: ```bash $ docker run --log-driver=logentries --log-opt logentries-token=abcd1234-12ab-34cd-5678-0123456789ab ``` + +### line-only + +You could specify whether to send log message wrapped into container data (default) or to send raw log line + +```bash +$ docker run --log-driver=logentries --log-opt logentries-token=abcd1234-12ab-34cd-5678-0123456789ab --log-opt line-only=true +```