Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-205

debug_backtrace() sometimes do not return 'file' and 'line' values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.3.0
    • develop
    • Code
    • None

    Description

      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!

      Attachments

        Issue Links

          Activity

            People

              juice Ivan Habunek
              dmitriy.ulyanov Dmitriy Ulyanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: