Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How do I update the flags in a running trace session?

To change the trace flags or trace level in a running trace session, use the tracelog -enable command, not the tracelog -update command. For more information, see Tracelog Command Syntax.

Flags and levels are properties of a trace provider, not of the trace session. Therefore, tracelog -update, the command to update the trace session, cannot be used to change the properties of a provider. Instead, use the tracelog -enable command to re-enable the provider with the new properties.

For information about the tracelog -enable command, see Tracelog Command Syntax. For an example of how to use this command, see Example 5: Enabling Trace providers.

You can also use TraceView to change the flags or levels in a trace session that you started by using TraceView. The graphical user interface makes it easy to see what properties can be changed while the session runs, and to change them.

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.