Using the Windows interface
1. | Open Performance | ||||||||||||
2. | Double-click Performance Logs and Alerts, and then click Counter Logs, Trace Logs, or Alerts. | ||||||||||||
3. | In the details pane, double-click the name of the log or alert. | ||||||||||||
4. | Click the Schedule tab. | ||||||||||||
5. | Under Start log, click one of the following options:
| ||||||||||||
6. | Under Stop log, select one of the following options:
| ||||||||||||
7. | Complete the properties as appropriate for logs or alerts:
|
Note
| • | To open Performance, click Start, click Control Panel, click Performance and Maintenance, click Administrative Tools, and then double-click Performance. |
| • | When you schedule a log to close at a specific time and date or close the log manually, the Start a new log file option is unavailable. |
| • | If the log is set to start at a scheduled time using Start At, the log will restart if the system reboots during the scheduled time. The scheduled time is based on the Stop settings. |
Using a command line
1. | Open Command Prompt |
2. | Type: logman update collection_name -m start stop |
| Value | Description |
update collection_name | Updates the collection query named collection_name. |
-m start stop | Specifies that the logging will start and stop manually. Start specifies the time you want logging to start. Stop specifies the time you want logging to stop. |
Note
| • | To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt. |
| • | To view the complete syntax for this command, at a command prompt, type: logman /? |
| • | |
| • |