--- title: "Setting the minimum logging level" slug: "setting-the-minimum-logging-level" updated: 2026-09-08T19:10:56Z published: 2026-09-08T19:10:56Z canonical: "docs.trellix.com/setting-the-minimum-logging-level" --- > ## 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. # Setting the minimum logging level When you specify the minimum xAgent logging level, all log messages for that level and higher severity levels are logged. For example, if you specify the minimum xAgent logging level to be CRIT for Critical events, only log messages for Critical, Alert, and Emergency events are logged; log messages for all other event types are not logged. By default, the minimum xAgent logging event level is INFO (Information). You can set the minimum logging level for the xAgent logging policy in the xAgent default policy or a custom policy. This section covers how to set the minimum logging level using the Web UI. See the *Endpoint Security (HX) REST API Guide* for more information on setting the minimum logging level using the API. ### Setting the minimum logging level for the xAgent Logging Policy To set the minimum logging level in the default policy : 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. In the Policies table, click the **Agent Default Policy** link to go to the **Edit Policy** page. 4. Select the **Agent Logging** tab. ![Agent_Logging_tab_LogStorage.jpg](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-37603daa-01cf-0ccf-02c8-7471c6379bfb(1).jpg?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A26Z&se=2026-11-22T13%3A52%3A26Z&sr=c&sp=r&sig=rtXOw%2FRvI7%2BaOQ07CV7eGi7Zpo0Dz9Btb0CvmBkT1vE%3D) 5. Verify that the **Agent Logging ON/OFF** switch is set to **ON**. 6. Click the **Agent log level** menu and select the agent log level. See [Understanding Agent Logging Levels](/docs/understanding-xagent-logging-levels) for more information. 7. Enter the size of the log database in the **Log Storage** box. 8. Click **Save**. **To set the minimum logging level in a new custom policy :** 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. Click **CREATE CUSTOM POLICY**. 4. Enter a policy name in the **Name** field and a policy description in the **Description** field. Select the **Agent Logging** tab. 5. Click the **CATEGORIES** button. 6. Select the **Agent Logging** checkbox to access the **Agent Logging** tab. 7. Verify that the **Agent Logging ON/OFF** switch is set to **ON**. 8. Click the **Agent log level** menu and select the agent log level. See [Understanding Agent Logging Levels](/docs/understanding-xagent-logging-levels) for more information. 9. Enter the size of the log database in the **Log Storage** box. 10. Click **Save**. :