Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7420

Lookups are logged as both lookup and APL when using log-level debug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.9.4
    • Fix Version/s: PUP 4.10.1
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      • The debug output should only explain a call to lookup once.
      • Only APL lookups should be logged as such.
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-04-05, PDE 2017-04-19
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Logging of hiera lookups in debug mode would log every Automatic Parameter Lookup (APL) twice, once as a "regular lookup" and once as an APL. This is now fixed.
    • QA Risk Assessment:
      No Action

      Description

      When using log-level debug, a call to lookup will output the information from the lookup explainer. This happens twice when the lookup originates from a call to the lookup function. The second time, the lookup appears to be an APL (Automatic Parameter Lookup).

        Attachments

          Activity

            People

            Assignee:
            qa qa
            Reporter:
            thomas.hallgren Thomas Hallgren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support