Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-139

Improve log/trace messages

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: s3
    • Labels:
      None

      Description

      We need to improve the use of general prints to stderr/out.

      Use a disciplined logging mechanism - presumably some standard scala logging mechanism with the usual controls over verbosity.

      We need to standardize the format of the messages, and perhaps make use of indenting to make the traces easier to read.

      Goal: a trace facility for compilation time, and for run-time, which is useful for showing what Daffodil is doing during each phase, and highlighting how decisions are being taken at compile time that therefore don't need to be tested or considered at runtime.

      This is target s1 since improved logging/messages would be good to demo at CDTF, which is April 25.

      We should also be able to shut off all logging overhead for performance testing, but that's a longer term need. Often the same controls for verbosity will also provide this, so that's why it is mentioned here.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              pchu Paul Chu (Inactive)
              Reporter:
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks