How Do I Enable Debug Logging for IPSec? - 11 Apr 2000

A readers asks whether it's possible to enable logging for IPSec. The answer is yes. To enable IPSec logging, perform the following registry change--but be careful--incorrect registry edits can lead to a non-bootable system: Start the Registry

ITPro Today

April 10, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A readers asks whether it's possible to enable logging for IPSec. The answer is yes. To enable IPSec logging, perform the following registry change--but be careful--incorrect registry edits can lead to a non-bootable system:

Start the Registry Editor (regedit.exe) and move to the following registry area:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesPolicyAgent

From the Edit menu select New, then Key, and then define the key name as "Oakley" without the quotes. Next, select the newly created Oakley key and then select New, DWORD Value from the Edit menu. Enter the DWORD name as "EnableLogging" without the quotes and set its value to 1. Once the definitions are complete, restart the PolicyAgent service so that the changes take affect. Keep in mind that the logs will be written to the %systemroot%debugoakley.log file

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like