Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15015

Log statements lack file name/number

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Auto Closed
    • Affects Version/s: 1.6.1
    • Fix Version/s: None
    • Component/s: Build
    • Environment:

      All

    • Flags:
      Patch

      Description

      I would like it if the Apache Spark project had file names and line numbers in its log statements like this:

      http://i.imgur.com/4hvGQ0t.png

      The example uses my library, http://johnreedlol.github.io/scala-trace-debug/, but https://github.com/lihaoyi/sourcecode is also useful for this purpose.

      The real benefit in doing this is because the user of an IDE can jump to the location of a log statement without having to set breakpoints.

      http://s29.postimg.org/ud0knou1j/debug_Screenshot_Crop.png

      Note that the arrow will go to the next log statement if each log statement is hyperlinked.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              johnreed2 John-Michael Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: