Skip to content

Commit

Permalink
Merge pull request #25682 from eileenmcnaughton/log_smarty
Browse files Browse the repository at this point in the history
Log Smarty debug to it's own channel
  • Loading branch information
demeritcowboy authored Feb 28, 2023
2 parents d54fdb1 + 04cda39 commit da5a2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Smarty.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public static function escape($string, $esc_type = 'html', $char_set = 'UTF-8')

$value = smarty_modifier_escape($string, $esc_type, $char_set);
if ($value !== $string) {
Civi::log()->debug('smarty escaping original {original}, escaped {escaped} type {type} charset {charset}', [
Civi::log('smarty')->debug('smarty escaping original {original}, escaped {escaped} type {type} charset {charset}', [
'original' => $string,
'escaped' => $value,
'type' => $esc_type,
Expand Down

0 comments on commit da5a2c0

Please sign in to comment.