Is there a way to write to the K1000 MI logs?
For example, the vast majority of our Managed Installs (MI) are zipped up files, with a bat file inside which is run, this usually does some checks of the Windows OS Version, Processor Architecture, and then runs the relevant MSI or EXE with the required parameters (we have quite a few that require more than just "/i /qb!"), and sometimes copies config files, or removes unnecessary shortcuts, etc.
Now, I would like some more feedback from my scripts in the computer inventory page in the K1000 under the MI log, which contains status, activity and output, however there's usually nothing very helpful here, I would like to be able to check errorlevels in my script and write to the log file so that we know what part failed and possibly why.
I know we can turn on debug logs, but that's per machine and creates a lot of logs when we just need some quick feedback on deployment.
Is it possible to pass some variables to runkbot.exe or kdeploy.exe to add a line to the log and ensure this is uploaded to the K1000?