--- title: "Log to file configuration" slug: "log-to-file-configuration" tags: ["Reference", "DS 10.x", "Database Security"] updated: 2026-09-10T15:20:21Z published: 2026-09-10T15:20:21Z canonical: "docs.trellix.com/log-to-file-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Log to file configuration Configure Database Security to save log entries in a file. | Option | Table | | --- | --- | | **Log to File** | Select to enable the log entries to save in a file. | | **Directory Path** | The location of the log file to be saved. | | **Rolling Period** | The time period covered by each log (hour or day). | | **Delete Older Than** | The number of days after which the log file should be deleted. | | **Format** | The file type of the log file like .csv, .cef, .sentinel, or custom. |