--- title: Log html sanitization \[Removed in Security Center 2.0\] description: Configure glide.html\_sanitize.discarded\_log.enable property to determine if HTML sanitization events will be logged in your instance. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/instance-security-hardening-settings/sc-log-html-sanitization.html release: australia product: Instance Security Hardening Settings classification: instance-security-hardening-settings topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Error handling and logging, Hardening settings, Platform Security] --- # Log html sanitization \[Removed in Security Center 2.0\] Configure **glide.html\_sanitize.discarded\_log.enable** property to determine if HTML sanitization events will be logged in your instance. If this property is not set to the recommended value of **true**, HTML sanitization events are not logged in the **sys\_log** table. Lack of logging could negatively impact your instance automated security detection and investigation capabilities. ## More information
| Attribute | Description |
|---|---|
| Configuration name | **glide.html\_sanitize.discarded\_log.enable** |
| Configuration type | System Properties \(/sys\_properties\_list.do\) |
| Data type | Boolean |
| Recommended value | true |
| Default value | true |
| Category | [Error handling and logging](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/instance-security-hardening-settings/sc-error-handling-logging.md) |
| Security risk | - Severity score: 2.4 - CVSS score: Low - Security risk details: If this property is not set to the recommended value of **true**, HTML sanitization events are not logged in the **sys\_log** table which could impact automated security detection and investigation capabilities. |
| Dependencies and prerequisites | None |
| References | [Enabling HTML sanitizer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/t_ActivateHTMLSanitizer.md) |