From 51208a8eb2991649cf7ec9804586e82e4bbfdef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Mon, 27 May 2019 13:07:26 +0100 Subject: [PATCH] chore(docs): add log:format option to the docs --- docs/CONFIGURATION.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index 3d78784ff..8adddaeee 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -498,11 +498,14 @@ Syntax: log: config: bool level: string + format: string ``` - `config` - if set to `true` karma will log used configuration on startup -- `level` - log level to set for karma, possible values are debug, info, - warning, error, fatal and panic. +- `level` - log level to set for karma, possible values are `debug`, `info`, + `warning`, `error`, `fatal` and `panic`. +- `format` - controls how log messages are formatted, possible values are + `text` and `json`. If set to `json` each log will be a JSON object. Defaults: @@ -510,6 +513,7 @@ Defaults: log: config: true level: info + format: text ``` ### JIRA