Analytic and Debug logs are disabled by default. When enabled, they can quickly fill with a large number of entries. For this reason, you will probably want to turn them on for a specified period to gather some troubleshooting data and then turn them off again. You can perform this procedure by using either the Windows interface or a command line.
![]() |
To enable Analytic and Debug logs by using the Windows interface |
-
Start Event Viewer.
-
Ensure that Analytic and Debug logs are visible by following the steps in Show or Hide Analytic and Debug Logs.
-
In the console tree, navigate to and select the Analytic or Debug log you want to enable.
-
On the Action menu, click Properties.
-
On the properties dialog box, select Enable logging and click OK.
![]() |
To enable Analytic and Debug logs by using a command line |
-
To open a command prompt, click Start, click Run, type cmd, and click OK.
-
Type the following text:
wevtutil sl <logname> /e:true