Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Print caller trace in file log
Include info for call trace when the log
destination is "file". This information is
already printed on "page" destination

Fix #20408
  • Loading branch information
cproensa authored and vboctor committed Dec 22, 2015
1 parent 9eb915c commit 952a7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/logging_api.php
Expand Up @@ -124,7 +124,7 @@ function log_event( $p_level, $p_msg ) {
}
}

$t_php_event = $t_now . ' ' . $t_level . ' ' . $t_msg;
$t_php_event = $t_now . ' ' . $t_level . ' ' . $t_caller . ' ' . $t_msg;

switch( $t_destination ) {
case 'none':
Expand Down

0 comments on commit 952a7ae

Please sign in to comment.