From a8e0866c2a5eeed4041a4092a8c30b4e1cf8ee68 Mon Sep 17 00:00:00 2001 From: Kiran Thomas Date: Sun, 27 Sep 2020 11:43:53 -0500 Subject: [PATCH] docs: clarify that default log format is console if TTY, otherwise JSON --- src/docs/markdown/caddyfile/directives/log.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/caddyfile/directives/log.md b/src/docs/markdown/caddyfile/directives/log.md index f2d0a0a..c2b27a7 100644 --- a/src/docs/markdown/caddyfile/directives/log.md +++ b/src/docs/markdown/caddyfile/directives/log.md @@ -17,7 +17,7 @@ log { ``` - **output** configures a where to write the logs to. See [Output modules](#output-modules) below. Default: `stderr` -- **format** describes how to encode, or format, the logs. See [Format modules](#format-modules) below. Default `console` +- **format** describes how to encode, or format, the logs. See [Format modules](#format-modules) below. Default: `console` if `stdout` is detected to be a terminal, `json` otherwise. - **level** is the minimum entry level to log. Default: `INFO` ### Output modules