This guide will help one to view the CastLog2 files with the CASTLog2Viewer.exe on the system which does not have CastAIP installed. Usually if you see the log from the DMT application it will be opened with CastLog2Viewer.exe but when trying to open the logs from the folder you can use this solution.
Applicable in CAST Version
Microsoft SQL Server
Once the DMT is installed from the CAST-AIC Portal the CastLog2Viewer.exe is by default copied to the machine from AICPortal to a similar path to this. C:\Users\<USER>\AppData\Local\CAST\CAST\DMT\<AIC Portal UUID>
With a command line, the syntax is: CastLog2Viewer.exe <filename> where <filename> is the full path of the castlog2 file
For each step in the Delivery Manager Tool (extraction, scan, discovery, selection, validation), a XXX.CastLog2 file is produced and on some steps a XXX_report.pmx file is produced as well. The XXX_report.pmx file is a XML file that gives a lot of information about the results produced by the step, and can be easier to explore than the binary .CastLog2 file.
PMX files are written in each package delivery folder, along with the corresponding CastLog2 files.
There is also an unsupported tool available which can convert *.castlog2 files to xml format.