diff syslog2iptables.conf.make @ 81:cc01f2caff37 stable-1-0-19

add error_log to the httpd files
author Carl Byington <carl@five-ten-sg.com>
date Sun, 11 Feb 2024 12:04:13 -0800
parents d80641be405b
children
line wrap: on
line diff
--- a/syslog2iptables.conf.make	Wed Jul 15 14:29:47 2020 -0700
+++ b/syslog2iptables.conf.make	Sun Feb 11 12:04:13 2024 -0800
@@ -5,7 +5,7 @@
     echo ''
     cat syslog2iptables.conf.top
 
-    for fn in /var/log/httpd/access*log; do
+    for fn in /var/log/httpd/error_log /var/log/httpd/access*log; do
         if [ -f "$fn" ]; then
             echo "    file \"$fn\" {"
             cat syslog2iptables.conf.httpd