You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Strintec Test (JIRA)" <ji...@apache.org> on 2013/02/11 13:47:13 UTC

[jira] [Created] (LOG4PHP-206) CLONE - debug_backtrace() sometimes do not return 'file' and 'line' values

Strintec Test created LOG4PHP-206:
-------------------------------------

             Summary: CLONE - debug_backtrace() sometimes do not return 'file' and 'line' values
                 Key: LOG4PHP-206
                 URL: https://issues.apache.org/jira/browse/LOG4PHP-206
             Project: Log4php
          Issue Type: Bug
          Components: Code
    Affects Versions: 2.3.0
            Reporter: Strintec Test
            Priority: Critical


debug_backtrace() sometimes do not return 'file' and 'line' values.
This results in an error (Notice).

Please, add "isset" in code: LoggerLoggingEvent.php, lines: 172-173

.....
$locationInfo['line'] = $hop['line'];
$locationInfo['file'] = $hop['file'];
.....

Thank you!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira