Filtering and sorting log records

  1. To filter log records properties from being displayed in Log view, click the Filter Properties button filter icon in the Log view. The Filter Properties dialog box opens.

  2. list of filter properties, some checked and some not
     

  3. To control which properties (that is, error log fields) should appear in the Properties pane, select or clear the properties to be displayed.  To control their order, use the Up and Down buttons.
  4. To filter by severity, select or clear the severity of error log records. Severity is indicated like this:
  5. Icon of an outlined rectangle with the top half colored red
    High severity
    Icon of an outlined rectangle with the mid section colored yellow
    Medium severity
    Icon of an outlined rectangle with the lower half colored blue
    Low severity


    Click OK.  The list of records is refreshed.

  6. To filter log records by properties, click the Advance Filter Properties button  in the Log view. The Advance Filter Properties dialog box opens


  7. To add a new filter, click Add button, then specify the attribute, operator, and value. Since filters are applied sequentially, starting with the topmost filter, you may need to move filters Up or Down.
  8. To modify a filter, select it, then edit the package/class, method, and include/exclude criteria fields. To delete a filter, select it, then click Remove.
  9. Click OK.  The list of records is refreshed.
  10. Value field of the filter can be a string pattern with * used as wildcard.
  11. To sort the sort order in the Log records pane, click the Sort button: sort icon.  The Sort Log Records window opens.
  12. To select which properties to sort on, move them to the right side.  Sorting will proceed using the top property first, then the next, and so on.

  13. sort log records dialog showing properties in left pane and selected properties in right pane
     
     

  14. To change which property to sort on first, select it and click the Up key to move it to the top position.
  15. Click OK.  The log records are resorted.

Related concepts
Overview of the Log and Trace Analyzer

Related tasks
Working with log files
Analyzing a log file
Setting logging preferences
Correlating log files

Related reference
Log view