Monday, July 13, 2009

How to enable PPP and VPN Logging in Windows ?

Create a file called PPP.LOG in the% SYSTEMROOT%\SYSTEM32\RAS to help diagnose connectivity problems between a PPP server and client PPP when a computer is a client of Remote Access Service Windows NT.

Open your registry database and find the key below.

Create a new DWORD value or modify the existing value called 'Logging' using the settings below.

Quit the registry and restart or log out of Windows for the session so that the changes take effect.

Hive: HKEY_LOCAL_MACHINE
System Key: SYSTEM\CurrentControlSet\Services\RasMan\PPP
Name: Logging
Type: REG_DWORD
Value: 1 standard logging
Value: 2 verbose logging

PPP logging is good but if you need more details use VPN logging.This may be useful if you are troubleshooting a problem with your VPN connection.

The log file is located in /var/log/ppp.log

To monitor this log when you engage a vpn connection open your terminal and use the command

tail -f /var/log/ppp.log

I hope the above information is useful to you.
If you have any doubts or Idea's leave comments.

Disclaimer: editing the registry can cause serious problems that may require you to reinstall your operating system. We can not guarantee that problems resulting from modifications can be solved. You use the information provided at your own risk.

No comments:

Post a Comment