Made the notification level flag global for all notification types.

This commit is contained in:
Fabrizio Steiner 2018-03-02 13:08:40 +01:00 committed by max
parent 7427b009dc
commit 24fcbe143e
5 changed files with 27 additions and 25 deletions

View file

@ -192,6 +192,10 @@ The types of notifications to send are passed via the comma-separated option `--
* `slack` to send notifications through a Slack webhook
* `discord` to send notifications into Discord channel
### Settings
* `--notifications-level` (env. `WATCHTOWER_NOTIFICATIONS_LEVEL`): Controls the log level which is used for the notifications. If omitted, the default log level is `info`. Possible values are: `panic`, `fatal`, `error`, `warn`, `info` or `debug`.
### Notifications via E-Mail
To receive notifications by email, the following command-line options, or their corresponding environment variables, can be set: