From eba230986c65ba0c574c063813ae266972f650ca Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 18 Oct 2014 15:44:51 +0200 Subject: [PATCH] guardian: Get path for apache2 error log from configfile. --- config/guardian/guardian.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/guardian/guardian.pl b/config/guardian/guardian.pl index 59b48dbd04..37c29f9799 100644 --- a/config/guardian/guardian.pl +++ b/config/guardian/guardian.pl @@ -511,7 +511,12 @@ sub load_conf { $alert_file = $1; } - # Omit path to the ignorefile. + # Omit path to httpd error log. + if (/HTTPDLogFile\s+(.*)/) { + $httpdlog_file = $1; + } + + # Read-in path to the ignorefile. if (/IgnoreFile\s+(.*)/) { $ignorefile = $1; } -- 2.39.5