Generating and Locating NI Package Manager Error Logs

Updated May 7, 2018

Reported In

Software

  • Package Manager

Issue Details

  • I would like to troubleshoot an issue with NI Package Manager (NIPM), however I don't know what logs are relevant, how to generate them, or where they are located on disk.
  • I have a problem with NI Package Manager (NIPM) and need to obtain a cURL or Networking Log for troubleshooting. How do I create that log file?

Solution

There are error logs that are enabled and generated by default when an issue occurs with NI Package Manager. They are located locally at:
​C:\Users\<Windows Username>\AppData\Local\National Instruments\NI Package Manager
Two additional logs,  cURL log and the MSI log, can also help with troubleshooting issues. To enable or disable these additional logs, use the following commands:
  • Enabling MSI Logs: 
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" set-config nipkg.plugin.wininst.msilogs-enabled=true
  • Disabling MSI Logs: 
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" set-config nipkg.plugin.wininst.msilogs-enabled=false
  • Enabling cURL Logs:
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" set-config nipkg.curldebugfile-enable=true
  • Disabling cURL Logs:
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" set-config nipkg.curldebugfile-enable=false

After enabling the log generation, you must cause NI Package Manager to generate the errors again, as logs will only be created when an error is encountered. The error logs will then be placed in: ​C:\Users\<Windows Username>\AppData\Local\National Instruments\NI Package Manager\logs .

Additional Information

NI does not recommend leaving MSI logs enabled when not troubleshooting installation issues. Enabling MSI logs will increase the time it takes to install packages.

WAS THIS ARTICLE HELPFUL?

Not Helpful