mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +00:00
Added log level needed in configuration.yaml (#2884)
Tested working with this log level
This commit is contained in:
parent
76f022c600
commit
ebf718df9e
@ -14,6 +14,14 @@ This is a quick guide on how to setup fail2ban for Home Assistant. This was orig
|
|||||||
|
|
||||||
First install `fail2ban`. On Debian/Ubuntu this would be `apt-get install fail2ban`. On other distros you can google it.
|
First install `fail2ban`. On Debian/Ubuntu this would be `apt-get install fail2ban`. On other distros you can google it.
|
||||||
|
|
||||||
|
Then make sure logging is enabled in `/home/homeassistant/.homeassistant/configuration.yaml` for your HA instance:
|
||||||
|
```
|
||||||
|
logger:
|
||||||
|
default: critical
|
||||||
|
logs:
|
||||||
|
homeassistant.components.http: warning
|
||||||
|
```
|
||||||
|
|
||||||
Next we will be creating these three files :
|
Next we will be creating these three files :
|
||||||
|
|
||||||
- `/etc/fail2ban/fail2ban.local`
|
- `/etc/fail2ban/fail2ban.local`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user