MuteWebAccess patch

From kitz wiki
Revision as of 00:35, 17 May 2024 by Kitz (talk | contribs) (Category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;