Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebf718d

Browse files
olavxxxfabaff
authored andcommitted
Added log level needed in configuration.yaml (home-assistant#2884)
Tested working with this log level
1 parent 76f022c commit ebf718d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/_cookbook/fail2ban.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ This is a quick guide on how to setup fail2ban for Home Assistant. This was orig
1414

1515
First install `fail2ban`. On Debian/Ubuntu this would be `apt-get install fail2ban`. On other distros you can google it.
1616

17+
Then make sure logging is enabled in `/home/homeassistant/.homeassistant/configuration.yaml` for your HA instance:
18+
```
19+
logger:
20+
default: critical
21+
logs:
22+
homeassistant.components.http: warning
23+
```
24+
1725
Next we will be creating these three files :
1826

1927
- `/etc/fail2ban/fail2ban.local`

0 commit comments

Comments
 (0)