mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 12:36:16 -04:00
docs: clarify that default log format is console if TTY, otherwise JSON (#89)
This commit is contained in:
parent
8818629407
commit
51cacc7e4d
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ log {
|
||||||
```
|
```
|
||||||
|
|
||||||
- **output** configures a where to write the logs to. See [Output modules](#output-modules) below. Default: `stderr`
|
- **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`
|
- **level** is the minimum entry level to log. Default: `INFO`
|
||||||
|
|
||||||
### Output modules
|
### Output modules
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue