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

Time to fix

10 min




Last modified on Jun 12, 2020