Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Using Tracing Tools with ASR Applications

You can use the Logman tool to collect tracing information for VSS applications that use Automated System Recovery (ASR). Logman (logman.exe) is a trace controller for trace events and performance counters. It is included in Windows XP and later versions of Windows. Or, if you prefer, you can use the Tracelog tool to collect the same ASR tracing information. Tracelog is included in the Windows Driver Kit (WDK).

To use tracing tools with VSS, see Using Tracing Tools with VSS.

Using Logman

The following procedure describes how to use Logman with your ASR application.

Bb986749.wedge(en-us,VS.85).gifTo use Logman with your ASR application

  1. Use the following command to start tracing:

    logman start asr -o x:\asr.etl -ets -p {6407345b-94f2-44c8-b3db-4e076be46816} 0xff 0xff

    Note  Replace "x:\" with the path to the directory where you would like the trace log file to be stored. For best performance, the trace log file should be located on a volume that is not part of the shadow copy.

  2. Use the following command to stop tracing:

    logman stop asr -ets

The trace log file is x:\asr.etl.

For more information about the Logman tool, see Logman.

Using Tracelog

The following procedure describes how to use Tracelog.

Bb986749.wedge(en-us,VS.85).gifTo use Tracelog

  1. Create a text file named asr.ctl that contains only the following text:

    6407345b-94f2-44c8-b3db-4e076be46816 asr

  2. Use the following command to start tracing:

    tracelog -start asr -f x:\asr.etl -guid asr.ctl -flag 0xff -level 0xff

    Note  Replace "x:\" with the path to the directory where you would like the trace log file to be stored. For best performance, the trace log file should be located on a volume that is not part of the shadow copy.

  3. Use the following command to stop tracing:

    tracelog -stop asr

The trace log file is x:\asr.etl.

For more information about the Tracelog tool, see Tracelog.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.