Forum Discussion
Chris Stewart
Sep 06, 2018Brass Contributor
ULS Viewer - Name field
Microsoft's version of ULS Viewer (https://www.microsoft.com/en-us/download/details.aspx?id=44020) has a column for Name. This has been helpful to pin point which pages have been causing errors.
The name field is not part of the ULS Log and does not show up in the ULSTraceLog table or views in the SharePoint database.
There is a version of ULS Viewer on github, but it only has the exe, not the code.
https://github.com/chrisdee/Tools/tree/master/SharePoint/ULSViewer
How is ULS Viewer getting the Name field?
Could Microsoft share the code for ULS Viewer on github?
- aboryczkoCopper Contributor
The Name column is a calculated column. ULSViewer has a cool mechanism that looks for entries that have a category name ending with "Correlation Data", then it takes the text in the format of Column=Value and applies it to the entire Correlation in which the entry appeared. I've attached an example entry which represents this functionality, also look at the "Custom Column Information" which shows the applied data:
The best part is that if you log something to ULS yourself you can utilize this functionality :)
Regards,
Artur