# Logging On a single system, you can use the following commands to configure logging: ```bash netsh advfirewall>set allprofiles logging allowedconnections enable netsh advfirewall>set allprofiles logging droppedconnections enable ``` Disable Logging ```bash netsh advfirewall>set allprofiles logging allowedconnections disable netsh advfirewall>set allprofiles logging droppedconnections disable ```