The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Configuring the number of archived log files using the CLI

Prev Next

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

You can configure the number of archived log files only using the CLI.

Prerequisites

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 <number_of_log_files>
  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
    ........