LogFileRollover Element (ASSL)

Specifies whether logging of Trace output should roll over to a new file or should stop when the maximum log file size that is specified in LogFileSize is reached.

Syntax

<Trace>
   ...
   <LogFileRollover>...</LogFileRollover>
   ...
</Trace>

Element Characteristics

Characteristic Description

Data type and length

Boolean

Default value

False

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent element

Trace

Child elements

None

Remarks

If the value of the LogFileRollover element is set to True, a new file is started when the size of the log file exceeds the value that is specified in the LogFileSize element of the Trace parent element; otherwise, logging stops.

The element that corresponds to the parent of LogFileRollover in the Analysis Management Objects (AMO) object model is Trace.

See Also

Reference

Traces Element (ASSL)
Properties (ASSL)

Help and Information

Getting SQL Server 2005 Assistance