From ebf718df9ee914dd84641b24f2eff28ebf861c7b Mon Sep 17 00:00:00 2001 From: Olav Alexander Mjelde Date: Sat, 24 Jun 2017 17:47:51 +0200 Subject: [PATCH] Added log level needed in configuration.yaml (#2884) Tested working with this log level --- source/_cookbook/fail2ban.markdown | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/_cookbook/fail2ban.markdown b/source/_cookbook/fail2ban.markdown index c9c0ff3550b..74ebccad4b5 100644 --- a/source/_cookbook/fail2ban.markdown +++ b/source/_cookbook/fail2ban.markdown @@ -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. +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 : - `/etc/fail2ban/fail2ban.local`