MuteWebAccess patch

From kitz wiki
Jump to: navigation, search

If you are only accessing pfSense from the LAN, and WAN access is locked out, it might be preferential to not log every action in the UI access logs, this patch will mute that logging.




Paste the below code into the Patch Contents box.

Add a description such as 'Mute WebUI access log' in the Description box.

Set Path Strip Count to '0'.

Base Directory to '/etc/inc/'.

--- system.inc  2017-02-03 15:05:45.000000000 +0000
+++ system.inc.mute     2017-02-25 14:50:10.749459000 +0000
@@ -1419,7 +1419,7 @@
 
        sendfile        on;
 
-       access_log      syslog:server=unix:/var/run/log,facility=local5 combined;
+       access_log      /dev/null;
 
 EOD;