From: Stefan Schantl Date: Sat, 18 Oct 2014 13:44:51 +0000 (+0200) Subject: guardian: Get path for apache2 error log from configfile. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eba230986c65ba0c574c063813ae266972f650ca;p=people%2Fstevee%2Fipfire-2.x.git guardian: Get path for apache2 error log from configfile. --- 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; }