Business Rules With Debugging Statements

< 1 min read

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.debug.

Time to fix #

10 min

Updated on March 21, 2025
Was it helpful ?