text
stringlengths
0
4.23k
Log (-recursive) or do not log (-recursive) APIs recursively beyond the first layer.
-exe <value>
Specifies the full path to an executable for API Tracing.
/?
Displays context-sensitive help.
<computer name>
<value>
<name>
<bin|bincirc>
<user [password]>
*
<[start] [stop] [[start] [stop] [...]]>
<[[hh:]mm:]ss>
<M/d/yyyy h:mm:ss[AM|PM]>
<M/d/yyyy h:mm:ss[AM|PM]>
<[[hh:]mm:]ss>
<path|dsn!log>
<nnnnnn|mmddhhmm>
<task>
<value>
<[[hh:]mm:]ss>
<path [path [...]]>
<module!api [module!api [...]]>
<module!api [module!api [...]]>
<value>
Remarks
Examples
To update an existing API trace counter called trace_notepad, for the executable file c:\windows\notepad.exe, by excluding the API call TlsGetValue produced by the module kernel32.dll, type:
logman update api trace_notepad -exe c:\windows\notepad.exe -exapis kernel32.dll!TlsGetValue
logman update cfg
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Updates the properties of an existing configuration data collector.
Syntax
logman update cfg <[-n] <name>> [options]
Parameters
Parameter
Description
-s <computer name>
Performs the command on the specified remote computer.
-config <value>
Specifies the settings file containing command options.
[-n] <name>
Name of the target object.
-[-]u <user [password]>
Specifies the user to Run As. Entering a * for the password produces a prompt for the password. The password is not displayed when you type it at the password prompt.
-m <[start] [stop] [[start] [stop] [...]]>
Changes to manual start or stop instead of a scheduled begin or end time.
-rf <[[hh:]mm:]ss>
Runs the data collector for the specified period of time.
-b <M/d/yyyy h:mm:ss[AM|PM]>
Begins collecting data at the specified time.
-e <M/d/yyyy h:mm:ss[AM|PM]>
Ends data collection at the specified time.
-si <[[hh:]mm:]ss>
Specifies the sample interval for performance counter data collectors.
-o <path|dsn!log>
Specifies the output log file or the DSN and log set name in a SQL database.
-[-]r
Repeats the data collector daily at the specified begin and end times.
-[-]a
Appends an existing log file.