Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3960

Verbose log for files promises truncates "Promiser/affected object"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: 3.18.1
    • Fix Version/s: None
    • Component/s: cf-agent, Logging
    • Labels:
      None

      Description

      Verbose logging in files promises truncates the Promiser/affected object.

      For example:

      verbose: P:    Promiser/affected object: 'C:\Windows\temp\app_carbon_black\CarbonB'
      verbose: P: .........................................................
       verbose: P: BEGIN promise 'promise_app_carbon_black_cf_191' of type "files" (pass 1)
       verbose: P:    Promiser/affected object: 'C:\Windows\temp\app_carbon_black\CarbonB'
       verbose: P:    Part of bundle: app_carbon_black
       verbose: P:    Base context class: windows.cl_packages_enable
       verbose: P:    "if" class condition: !cl_installed.cl_policy_hub_up
       verbose: P:    Stack path: /default/main/methods/'app_carbon_black'/default/app_carbon_black/files/'C:\Windows\temp\app_carbon_black\CarbonBlackClientSetup.exe'[1]
       verbose: P:
       verbose: P:    Comment:  Downloads Carbon Black dependencies
         debug: VariableTablePut(promiser): string  => C:\Windows\temp\app_carbon_black\CarbonBlackClientSetup.exe
      

      Promiser/affected object: has 'C:\Windows\temp\app_carbon_black\CarbonB' instead of C:\Windows\temp\app_carbon_black\CarbonBlackClientSetup.exe (which is shown by debug as the value of the promiser).

      • Promiser affected object should not be truncated in verbose logging.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              a10042 Nick Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: