Enable HTML Sanitizer logging

task australia Updated Sep 10, 2026 1 min read t_EnableHTMLSanitizerLogging.md
Raw file servicenow.com

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.

Search documentation
Search document titles and file paths on the australia branch