I’ve noticed when viewing PSAppDeploy logs in the CMTrace format, the component, date/time and thread columns do not populate information.
Further research has pointed me to an issue with how the time tag is written. I’m in the PST timezone, PSAppDeploy writes the time tag as:
However, if I look at regular CCM logs produced by SCCM, the time tag is written as:
Indeed if I manually modify the PSAppDeploy logs to find/replace all ‘-480’ with +480 and save the changes, full details are then displayed in CMTrace.
This is not a huge issue for me, but I thought I would bring this to the attention of the developers in case anyone else is also seeing the same in their logs.
Are you using the latest version of CMTrace.exe to open the log file? The older version does not open the SCCM 2012 CMTrace log format correctly.
I’m currently using this version: 5.0.7711.0000 (64-bit)
What version should I be using?
The version that came with SCCM 2012. I have version 5.0.7804.1000.
Ok, yup, that was the problem. I had an old copy of CMTrace. After replacing with the latest version, I can now see full details in the PSAppDeploy logs.
Bringing life to this thread.
I’m experiencing this issue on Windows 10.0.10586, and CMTrace version 5.0.8230.1000.
In the log the Component column and the Date/Time column is blank and when marking a line the date/time in the info pane is set to 01.0.1601 00.00.00.
Is anyone dealing with this issue?
Script version: 3.6.8
Replace “[string]LogTime = (Get-Date -Format 'HH\:mm\:ss.fff').ToString()" with "(Get-Date -Format HH:mm:ss).$((Get-Date).Millisecond)+000” in AppDeployToolkitMain.ps1
Script Version: 3.8.2
Line no. 701
[string]LogTime = "(Get-Date -Format HH:mm:ss).$((Get-Date).Millisecond)+000"