How do I enable PPP logging in Windows 2000?
A.
It
you are using Point-to-Point Protocol and wish to debug its possible to
enable logging as follows:
To enable logging on a server box:
1.
Start the Routing and Remote Access Services (RRAS) tool in
Microsoft Management Console (MMC).
2.
In the left pane, right-click the RRAS server for which you
want to enable logging, and then click Properties.
3.
Click the Event Logging tab.
www.tartoos.com
4.
Click to select the Enable Point-to-Point Protocol (PPP)
logging check box.
On the Windows 2000 Professional machine:
1.
Open a command prompt window on the RRAS server for which
you want to enable logging.
2.
Type the following command, pressing ENTER after each
command:
netsh
ras
set tracing PPP enable
www.tartoos.com
All PPP activity to the Ppp/log file in the %systemroot%\tracing\ folder.
This uses quite a lot of resource so make sure you disable once you have
logged the required data.
1.
Open a command prompt window on the RRAS server for which
you want to disable logging.
2.
Type the following command, pressing ENTER after each
command:
netsh
ras
set tracing PPP disabled
www.tartoos.com
This can also be set via the registry:
1.
Start the registry editor (Regedit.exe)
2.
Move to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing\PPP
3.
Set EnableConsoleTracing (for Win2k Server) or
EnableFileTracing (for Win2k Prof) to 1
Close the registry editor.
|