From d597a687e9730b3ef475182eb4ee656ab7ac6b24 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 16 Jan 2019 09:50:45 +0100 Subject: [PATCH] Update REGEX_DEBUGMODE -> DEBUG_REGEX on the Regex subpage Signed-off-by: DL6ER --- docs/ftldns/regex/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ftldns/regex/overview.md b/docs/ftldns/regex/overview.md index 16858f5..7190d8d 100644 --- a/docs/ftldns/regex/overview.md +++ b/docs/ftldns/regex/overview.md @@ -14,13 +14,13 @@ To tell *FTL*DNS to reload the list, either: ## Pi-hole Regex debugging mode To ease the usage of regular expression filters in *FTL*DNS, we offer a regex debugging mode. Set ``` -REGEX_DEBUGMODE=true +DEBUG_REGEX=true ``` in your `/etc/pihole/pihole-FTL.conf` and restart `pihole-FTL` to enable or disable this mode. Once the debugging mode is enabled, each match will be logged to `/var/log/pihole-FTL.log` in the following format: ``` -[2018-07-17 17:40:51.304] DEBUG: Regex in line 2 "((^)|(\.))twitter\." matches "whatever.twitter.com" +[2018-07-17 17:40:51.304] Regex in line 2 "((^)|(\.))twitter\." matches "whatever.twitter.com" ``` The given line number corresponds to the line in the file `/etc/pihole/regex.list`.