---
title: Business Rules With Debugging Statements
description: "Impact Area Scalability Severity Low Affected Element Business rules ## Rule number **SN-0091** ## Impact Debug statements in the production environment can affect performance and potentially cause sensitive data to leak out. ## Remediation Remove the logging functions entirely, or…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/servicenow-rules/business-rules-with-debugging-statements/"
updated: "2025-03-21"
category: Rules
---

# Business Rules With Debugging Statements

Impact Area

Scalability

           Severity

Low

           Affected Element

Business rules

## Rule number

**SN-0091**

## Impact

Debug statements in the production environment can affect performance and potentially cause sensitive data to leak out.

## Remediation

Remove the logging functions entirely, or control their use with a property. At the minimum, switch to using `gs.info` and `gs.debu``g`.

### Time to fix

10 min
