Edit Field Dialog Box

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Use the Edit Field dialog box to update the properties for logging fields that are included in a log definition. Other log definitions that share the logging fields are not affected.

UI Element List

Element Name Description

Field ID

The friendly name of the logging field. This value cannot be edited.

Log header name

Enter the unique identifier of the logging field. The identifier is included in the #Fields directive in the log file header.

Default value

Enter a string value that will be recorded in the log file if the logging field contains no data. This value replaces the hyphen character that is typically used to mark missing logging field data.

Maximum size

If the logging field records string data, enter the maximum size, in bytes, that the string can be. Strings that are larger than this value will be truncated to the maximum size. This setting lets applications that have string size limits, such as log parsers, consume the data.

Required

Select this check box if data must be supplied for the logging field in a log entry. Log entries with logging fields that do not contain required data are not written to log files.

See Also

Concepts

Log Definition Page