text
stringlengths
0
4.23k
-ln <logger_name>
Specifies the logger name for Event Trace Sessions.
-ft <[[hh:]mm:]ss>
Specifies the Event Trace Session flush timer.
-[-]p <provider [flags [level]]>
Specifies a single Event Trace provider to enable.
-pf <filename>
Specifies a file listing multiple Event Trace providers to enable. The file should be a text file containing one provider per line.
-[-]rt
Runs the Event Trace Session in real-time mode.
-[-]ul
Runs the Event Trace Session in user.
-bs <value>
Specifies the Event Trace Session buffer size in kb.
-nb <min max>
Specifies the number of Event Trace Session buffers.
-mode <globalsequence|localsequence|pagedmemory>
Specifies the event trace session logger mode, including:Globalsequence - Specifies that the event tracer add a sequence number to every event it receives irrespective of which trace session received the event.Localsequence - Specifies that the event tracer add sequence numbers for events received at a specific trace session. When this option is used, duplicate sequence numbers can exist across all sessions but will be unique within each trace session.Pagedmemory - Specifies that the event tracer use paged memory rather than the default non-paged memory pool for its internal buffer allocations.
/?
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]>
<path|dsn!log>
<nnnnnn|mmddhhmm>
<task>
<value>
<[[hh:]mm:]ss>
<perf|system|cycle>
<logger_name>
<[[hh:]mm:]ss>
<provider [flags [level]]>
<filename>
<value>
<min max>
<globalsequence|localsequence|pagedmemory>
Remarks
Examples
To update an existing event trace data collector called trace_log, changing the maximum log size to 10 MB, updating the log file format to CSV, and appending file versioning in the format mmddhhmm, type:
logman update trace trace_log -max 10 -f csv -v mmddhhmm
logman update
Updates an existing data collector.
Syntax
logman update <counter | trace | alert | cfg | api> <[-n] <name>> [options]
Parameters
Parameter
Description
logman update counter
Updates a counter data collector.
logman update alert
Updates an alert data collector.
logman update cfg
Updates a configuration data collector.
logman update api
Updates an API tracing data collector.
logman
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012