--- title: "Tracing file rotation" slug: "oas-aref-tracing-file-rotation-3-28" updated: 2025-07-04T10:04:21Z published: 2025-07-07T13:44:54Z canonical: "docs.onespan.com/oas-aref-tracing-file-rotation-3-28" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Tracing file rotation OneSpan Authentication Server can be configured to automatically start a new trace file, based on one of the following: - Size of the current trace file - Number of days that the current trace file has been in use    | Setting | Data type | Description | | --- | --- | --- | | Trace-Rotate | Boolean | Enables or disables the rotation of trace files | | Trace-Rotate-Compress | Boolean | Enables or disables the compression of trace files once they are finished. | | Trace-Rotate-Count | Integer | The number of trace files to keep. Includes archived and current trace files. | | Trace-Rotate-Type | String | Specifies which factor the file rotation is based on. Possible values: - Size - Days | | Trace-Rotate-Days | Integer | If Trace-Rotate-Type is set to Days, this specifies the number of days to use the current trace file before creating a new trace file. | | Trace-Rotate-Size | Integer | If Trace-Rotate-Type is set to Size, this specifies the file size the current trace file may get to before a new trace file is created. The size is specified in MB. |