Microsoft KB Archive/234014

= HOW TO: Enable PPP Logging in Windows =

Article ID: 234014

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q234014





IN THIS TASK
SUMMARY
 * Viewing the PPP log within Windows by Using the Graphical User Interface (GUI)
 * Enabling PPP Logging on a Computer Running Windows 2000 Professional Using Netsh.exe
 * Disabling PPP Logging



SUMMARY
Point-to-Point Protocol (PPP) is the protocol used to establish, authenticate, and assign IP addresses to incoming and outgoing dial-up connections. This article describes how to enable PPP logging, which can be helpful in troubleshooting these processes.

back to the top

Viewing the PPP log within Windows by Using the Graphical User Interface (GUI)
NOTE: This option is not available in Windows 2000 Professional, see details about command-line below.
 * 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.
 * 4) Click to select the Enable Point-to-Point Protocol (PPP) logging check box.

back to the top

Enabling PPP Logging on a Computer Running Windows 2000 Professional Using Netsh.exe
 Open a command prompt window on the RRAS server for which you want to enable logging. Type the following command, pressing ENTER after each command:

netsh

ras

set tracing PPP enable



NOTE: The Netsh.exe command-line utility is the only option to enable PPP logging in Windows 2000 Professional. After you enable logging, the computer logs all PPP activity to the Ppp.log file in the %SystemRoot%\Tracing folder.

PPP logging uses system resources and hard disk space. Turn off logging when you are finished troubleshooting.

back to the top

Disabling PPP Logging
 Open a command prompt window on the RRAS server for which you want to disable logging. Type the following command, pressing ENTER after each command:

netsh

ras

set tracing PPP disabled



The corresponding Registry Key is EnableConsoleTracing and EnableFileTracing (for Windows 2000 Professional) under:

HKEY_LOCAL_MACHINE\software\microsoft\tracing\PPP

There is only one PPP logging level in Windows 2000 and Windows NT 4.0 RRAS, it is verbose. Only Windows NT 4.0 RAS has the normal and verbose mode which can be set by logging in the following registry key:

HKEY_LOCAL_MACHINE\system\ccs\services\rasman\ppp

Settings: 0-disabled, 1-normal or standard mode, 2-verbose or detail mode.

back to the top

Additional query words: netshell Dial Up Networking dun

Keywords: kbhowto kbhowtomaster KB234014

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.