---
sourceDocument: Yokohama Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/platform-security

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Enabling HTML Sanitizer logging

# Enabling HTML Sanitizer logging {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
When the HTML sanitizer removes elements or attributes, they are added to the system
log.

## Before you begin

Role required: admin

## About this task

You can review these sanitized elements by adding
/syslog_list.do?sysparm_query=source%3DHTMLSanitizer to your instance URL.

## Procedure

1. To review these sanitized elements add `/syslog_list.do?sysparm_query=source%3DHTMLSanitizer` to your instance URL.
2. To enable or disable logging, add the `glide.html_sanitize.discarded_log.enable` property to the system properties and set the value to true (enabled) or false (disabled).  
   This property is true by default.

