I usually force the logging with the Execute-MSI function. There are examples here:
MSI - How to install, uninstall, and log silently - The Toolkit / Tips & Tricks - PSAppDeployToolkit Community