Implemented proper logging and added more log messages

This commit is contained in:
ChaoticByte 2023-10-14 10:41:22 +02:00
parent 5a90f9736b
commit 9534dc3492
7 changed files with 89 additions and 23 deletions

View file

@ -31,11 +31,12 @@ Example:
```json
{
"api_fetch_interval": 600,
"datafile": "data",
"enabled_api_endpoints": [
"bay",
"bund"
],
"datafile": "data",
"loglevel": 2,
"recipients": [
{
"address": "guenther@example.org",
@ -59,6 +60,8 @@ Example:
}
```
To show debug messages, set the `loglevel` to `3`.
## Filters
You define filters for notices to be sent per recipient. Multiple filters can be set per recipient and multiple criteria can be used per filter. The configuration field for those filters is `include`. See [Configuration](#configuration) for an example.