]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
guardian: Get path for apache2 error log from configfile.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Oct 2014 13:44:51 +0000 (15:44 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Oct 2014 13:44:51 +0000 (15:44 +0200)
config/guardian/guardian.pl

index 59b48dbd041a0113008800a9cc7e64e459d928c7..37c29f97992ee9ac21ea580054d6b23aff6d8b86 100644 (file)
@@ -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;
                }