WPPFormatter is a plug-in for Text Analysis Tool (TAT) which addresses two important issues:

  1. Working with WPP Logs: The plug-in allows you to work seamlessly with WPP logs by automating the parsing procedure. After configuring it, all that is required is to open an etl file (or drag and drop it over TAT), and the plug-in will do the rest.
  2. Working with huge logs: Whenever a huge file is detected, the plug-in will allow you to select the portion of the file you wish to view. This will prevent TAT from consuming all of your memory, and let you concentrate on the part of file that interests you. This also applies for all WPP logs. 

 

  • A user manual
    • I can't wait, how do I install it?
      • First deploy the plug-in in the same directory in which the Text Analysis Tool (TAT) executable resides.
      • Run TAT.
      • Under help menu, select "Installed plug-ins".
      • If you see something similar to the following, then you installed the plug-in correctly.

  •  
    • Ok, I installed it, now what?
      • Just open a WPP file, either by using the File->Open command and selecting *.etls from the file types drop down box, or by dropping an etl file on TAT. You should be prompted with the following screen:

  •  
    •  
      • You can change the settings as you see fit:
        • Sliders: use the sliders to set the portion of the log you wish to view.
        • Trace Format Directory: The directory which contains the tmf files, which are required for parsing the etl file.
        • Flush WPP session: If selected, the session in the text box will be flushed before parsing the etl file. Note that this would only work on the machine where there is an active WPP session.
        • Trace Format Prefix: You can alter the format of the processed file. For more information see WPP information at: http://diagnostics/sites/swtracing/FAQ/Software%20Tracing%20FAQ.htm#How do I change the Prefix output on every trace line 
        • Reset to Defaults: reset the settings to factory defaults.
        • Verbose mode: display additional information after processing.
        • Save as default: Save your settings (In the registry).
    • If you open huge txt/log files, you'll be prompted with the following dialog:

  •  
    • You can change the settings as you see fit:
      • Sliders: use the sliders to set the portion of the log you wish to view.
      • Verbose mode: display additional information after processing.
      • Reset to Defaults: reset the settings to factory defaults.
      • Save as default: Save your settings (In the registry).
  • Some more information:
    • The plug-in uses tracefmt.exe and spawn a new process. With big etls, give it some time to process the file. (You will see the tracefmt.exe process working hard in the task manager).
    • Huge log files are files bigger than 0.5GB (this can be changed, but not disclosed here).
    • When viewing portions of logs, the first and last line in the viewed file would report which part of the file was skipped.