--- title: "Enabling or disabling SSL session logging using the CLI" slug: "enabling-or-disabling-ssl-session-logging-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/enabling-or-disabling-ssl-session-logging-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. # Enabling or disabling SSL session logging using the CLI Use the CLI commands in this section to enable or disable the Network Security appliance to collect statistics about traffic from the SSL flows. > [!NOTE] > Note > > You can enable or disable SSL session logging 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 enable the collection of SSL flow statistics:** The "Status" line displays "enabled" to indicate that the SSL session log module can generate logs on the Network Security appliance. The "Listening State" line displays "Ready" to indicate that the SSL session log mechanism is ready to process requests. 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Enable the collection of statistics. ``` hostname (config) # session-logger enable ``` 3. Verify that the module is ready to collect statistics. ``` hostname (config) # show session-logger statusStatus : enabled Listening State: Ready Module Name     : Status ------------------------ ssl             : OFF ``` **To disable the collection of SSL flow statistics:** ``` hostname (config) # show session-logger status Status : disabled Listening State: Ready(but admin disabled) ``` The "Status" line displays "disabled" to indicate that the SSL session log process cannot generate logs on the Network Security appliance. The "Listening State" line displays "Ready (but admin disabled)" to indicate that the SSL session log mechanism has been stopped by the administrator. 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Disable the collection of statistics. ``` hostname (config) # no session-logger enable ``` 3. Verify that the module is not collecting statistics.