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
This commit is contained in:
Igor Karpovich 2017-12-14 23:45:19 +00:00 committed by Joao Fernandes
parent 0784ad0fce
commit e1f8e68792
1 changed files with 9 additions and 0 deletions

View File

@ -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
```