--- title: "Viewing log rotation configuration using the CLI" slug: "viewing-log-rotation-configuration-using-the-cli-2" updated: 2026-08-25T21:18:10Z published: 2026-08-25T21:18:10Z canonical: "docs.trellix.com/viewing-log-rotation-configuration-using-the-cli-2" --- > ## 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. # Viewing log rotation configuration using the CLI This topic describes how to view file-based log rotation configuration for various types of log files on the Central Management System appliance. You can view the configuration details for the following file types: - audit - eventd - events - fireeyedb - lms_production - login-history - perfmon - syslog - weblogs - all For a full list of logging commands and their usage and parameters, see the *CLI Command Reference*. Prerequisites - Admin access To view file-based log rotation configuration: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Specify the file type and view the log rotation configuration: ``` hostname (config) # show logging-filewise ``` :