Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-10519

in Butler add a debug log statement when reading & a mapping resolved a template but the file does not exist

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: daf_persistence
    • Labels:
      None
    • Story Points:
      2
    • Team:
      Data Access and Database

      Description

      it would be helpful to know what locations were searched when butler can't get a location for a dataset while performing Butler.get.

      IE if the Butler is creating a ButlerLocation to read from, and a repository is able to complete the template (from the passed-in dataId & registry lookups), it then searches to see if that file exists in that repository. If not, it continues searching. In the "if not" case, a debug trace should be logged, with the storage root and the completed template, stating that the location was searched, but no file was there.

      It's not immediately obvious to me where the logic to emit this trace goes, but I think it's doable.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            npease Nate Pease
            Reporter:
            npease Nate Pease
            Watchers:
            John Parejko, Nate Pease
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: