| title | date | author | source |
|---|---|---|---|
Disable macOS Firewall Logging |
April 9, 2017 |
Jon LaBelle |
Steps for disabling macOS Firewall logging to the appfirewall.log file.
NOTE: Only disables logging, not the Firewall itself.
- Convert the current
com.apple.alf.plistplist binary file into XML text.
sudo plutil -convert xml1 /Library/Preferences/com.apple.alf.plist- Open the converted
com.apple.alf.plistXML file in vim.
sudo vim /Library/Preferences/com.apple.alf.plist- Search for the key loggingenabled:
Esc/loggingenabledEnter - Change the integer value to 0 (zero) to disable logging
- Save the the changes and quit vim:
:wq
- Convert the
com.apple.alf.plistplist file back into binary format.
sudo plutil -convert binary1 /Library/Preferences/com.apple.alf.plistTo verify that Firewall logging is now disabled...
- Apple-menu -> About This Mac -> System Reports...
- Network
- Firewall
- Logging:
No
- Logging:
- Firewall