--- title: "Configuring the number of archived log files using the CLI" slug: "configuring-the-number-of-archived-log-files-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-09-12T20:42:26Z published: 2026-09-12T20:42:26Z canonical: "docs.trellix.com/configuring-the-number-of-archived-log-files-using-the-cli" --- > ## 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. # Configuring the number of archived log files using the CLI Use the CLI commands in this section to configure the maximum number of archived log files you want to store on the appliance for SSL flows. The rotation of log files removes the oldest archived log file from the Network Security appliance. The log rotation allows the appliance to rename the current log file and set up a new log file to capture SSL flows. After the maximum size of the current log file is reached, the Network Security appliance stores the current log file and creates a new log file. The default number of archived log files that can be stored is 5. > [!NOTE] > Note > > You can configure the number of archived log files only using the CLI. ### Prerequisites - Administrator access to the Network Security appliance. - Verify that SSL interception is configured and enabled. For details about how to enable SSL interception, see [Enabling or disabling SSL interception using the Web UI](/network-and-platform/docs/enabling-or-disabling-ssl-interception-using-the-web-ui) or [Enabling or disabling SSL interception using the CLI](/network-and-platform/docs/enabling-or-disabling-ssl-interception-using-the-cli). **To configure the number of archived log files:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the maximum number of archived log files to store. ``` hostname (config) # session-logger ssl set rotation max-num ``` 3. Verify the maximum number of archived log files to store on the appliance. ``` hostname (config) # show session-logger ssl config Feature Status :  enabled Max File Rotation Limit : 10 ........ ``` The "Max File Rotation Limit" line displays the maximum number of archived log files to store on the appliance. **To restore the maximum number of archived log files to the default value:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Restore the maximum number of archived log files to the default value. ``` hostname (config) # no session-logger ssl set rotation max-num ``` 3. Verify the maximum number of archived log files to store on the appliance. ``` hostname (config) # show session-logger ssl config Feature Status :  enabled Max File Rotation Limit : 5 ........ ```