Skip to content

Commit

Permalink
Add logging section to config reference
Browse files Browse the repository at this point in the history
  • Loading branch information
hifi committed Dec 18, 2023
1 parent 464e5a3 commit 3dbd508
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions content/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ When you start Litestream with this setting enabled, you'll see metrics at
[http://localhost:9090/metrics](http://localhost:9090/metrics)
### Logging
{{< since version="0.3.12" >}} Log `type` can be set to either "text" or "json".
Logging `level` can be set to "debug", "info", "warn" or "error". By setting
`stderr` to `true` logs will be written to stderr instead of stdout.

The defaults are shown below:

```yaml
logging:
level: info
type: text
stderr: false
```


## Database settings

Expand Down

0 comments on commit 3dbd508

Please sign in to comment.