W3C Output Format Parameters

Log Parser

W3C Output Format Parameters

The W3C output format supports the following parameters:

rtp
  Values: number of rows
  Default: 10
  Description: Rows to print before pausing.
  Details: When writing to STDOUT, the W3C output format displays output records in batches made up of a number of rows equal to the value specified for this parameter. Once a batch of rows has been displayed, the W3C output format prompts the user to press a key to display the next batch of rows.
Specifying "-1" for this parameter disables batching altogether.
  Example: -rtp:-1
 
oDQuotes
  Values: ON | OFF
  Default: OFF
  Description: Enclose string values in double-quote characters.
  Details: When this parameter is set to "ON", the W3C output format writes string values with double-quote (") characters around them.
  Example: -oDQuotes:ON
 
oDirTime
  Values: any string
  Default: not specified
  Description: Content of the "#Date" directive header.
  Details: The W3C output format uses the value specified for this parameter as the content of the "#Date" directive written to the header of the output file. When a value is not specified, the W3C output format uses the current date and time.
  Example: -oDirTime:"1973-05-28 03:02:42"
 
encodeDelim
  Values: ON | OFF
  Default: OFF
  Description: Substitute space characters within field values with plus characters.
  Details: When this parameter is set to "ON", the W3C output format substitutes space characters found in string values with plus (+) characters, in order to generate W3C output that is formatted correctly.
When this parameter is set to "OFF", space characters within field values are preserved, potentially generating invalid W3C output.
  Example: -encodeDelim:ON
 
oCodepage
  Values: codepage ID (number)
  Default: 0
  Description: Codepage of the output text.
  Details: 0 is the system codepage, -1 is UNICODE.
  Example: -oCodepage:1245
 
fileMode
  Values: 0 | 1 | 2
  Default: 1
  Description: Action to perform when an output file already exists.
  Details: This parameter controls the behavior of the W3C output format when the into-entity specifies directly or indirectly through the "multiplex" feature the name of a file that already exists.
The possible values for this parameter are:
  • 0: existing files are appended with the output;
  • 1: existing files are overwritten with the output;
  • 2: existing files are left intact, discarding the output.
  Example: -fileMode:0
 


© 2004 Microsoft Corporation. All rights reserved.