Add an example json-file log line to the documentation.

This commit is contained in:
Topher Cyll 2019-02-09 13:25:41 -05:00
parent da4ef309a3
commit 1ef9a7e4d5
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ and writes them in files using the JSON format. The JSON format annotates each l
origin (`stdout` or `stderr`) and its timestamp. Each log file contains information about
only one container.
```json
{"log":"Log line is here\n","stream":"stdout","time":"2019-01-01T11:11:11.111111111Z"}
```
## Usage
To use the `json-file` driver as the default logging driver, set the `log-driver`