Part of #63.
Problem
RulesEngine::evaluateParams() and evaluatePhpExpression() emit Log::debug on every parameter of every action (app/app/Services/RulesEngine/RulesEngine.php:394, :488). Harmless at info, expensive at debug — which is exactly what DEBUG.md tells people to turn on when investigating a scan.
Change
Remove the per-parameter debug logging from the hot path, or gate it behind a check that does not build the context array when the level is not enabled.
Priority: P2
Part of #63.
Problem
RulesEngine::evaluateParams()andevaluatePhpExpression()emitLog::debugon every parameter of every action (app/app/Services/RulesEngine/RulesEngine.php:394,:488). Harmless atinfo, expensive atdebug— which is exactly whatDEBUG.mdtells people to turn on when investigating a scan.Change
Remove the per-parameter debug logging from the hot path, or gate it behind a check that does not build the context array when the level is not enabled.
Priority: P2