We've tried to get the Change Tracking viewer to cater to most people's needs. But you may have needs that it doesn't meet. Fortunately, you can customize the viewer to fit your needs!
As we already know, the Change Tracking log is stored as XML, which you can save using simple scripts. If you look at one such log, you'll notice that each log entry contains a "computer" attribute, which is the computer name on which the change was made.
Suppose you want to see this "computer" attribute in the log viewer. All you need to do is just modify the XSL file that transforms the log XML into viewable HTML:
- Open C:\Program Files\Microsoft ISA Server\UI_Htmls\ChangeTracking.xsl in notepad or any other text editor.
- Find the line that puts the username in the User column. It looks like this:
<xsl:value-of select="@user" />
- Replace it with lines that put the username and computer name:
<b>user: </b><xsl:value-of select="@user" /><br />
<b>computer: </b><xsl:value-of select="@computer" />
- Save. Now hit refresh on the Change Tracking viewer, and you'll see the change!
Further customizations are left as an exercise to the astute reader. Hint: Try playing with the <xsl:sort> line.
-Jonathan Barner, ISA Sustained Engineering Team