Show TOC Start of Content Area

Procedure documentation Filtering Logs and Traces  Locate the document in its SAP Library structure

Use

Use this procedure to find an exact log (trace) or several logs (traces) that meet specific criteria. Three types of log and trace filtering are available:

      Filtering by data source

      Filtering by log file and log type

      Filtering by content

Procedure

Filtering Log Records by Data Source

By default, the Log Viewer shows logs and records from the whole cluster. Using this procedure, you can view log records from a particular Java instance or server process.

       1.      Open the view, whose logs you want to filter.

       2.      Choose Show Advanced Filter.

       3.      To display all logs and traces from a server process, in the Filter by Data Source frame, from the dropdown box below, select Get all logs from.

       4.      In the adjacent field, enter a string for searching.

       5.      For advanced search, choose This graphic is explained in the accompanying text.

From the dialog box, choose Go and then, from the list, choose the relevant log directory.

       6.      To view all logs and traces, excluding the ones from a particular server process, from the dropdown box, select Exclude all logs from.

       7.      In the adjacent field, enter a string for searching.

For advanced search, choose This graphic is explained in the accompanying text.

Note

You can make a filter inactive and keep it for future use by deselecting the Active indicator.

If you want to delete a filter, choose This graphic is explained in the accompanying textDelete this row.

       8.      Choose Apply Data Sources.

Filtering Log Records by Log File and Log Type

Using this procedure, you can search for logs from all existing log directories on the relevant AS Java. You can also search for a particular log or trace file.

       1.      Choose Show Advanced Filter.

       2.      To search for log and trace records by name, in the Log Browser frame, from the dropdown box below, select Log File named.

       3.      From the adjacent dropdown box, select as or different from.

       4.      In the adjacent field, enter a log or trace file name for searching.

       5.      For advanced search, choose This graphic is explained in the accompanying text.

From the dialog box, choose Go and then, from the list, choose the relevant log/trace name.

       6.      To search for log and trace records by type, from the dropdown box below, select Log Type.

       7.      From the adjacent dropdown box, select equals or does not equal.

       8.      From the adjacent dropdown box, select ListLog or TextFormat.

       9.      To merge list formatted logs and traces, select the Merge Logs If Possible indicator.

Note

You can make a filter inactive and keep it for future use by deselecting the Active indicator.

If you want to delete a filter, choose This graphic is explained in the accompanying textDelete this row.

   10.      Choose Apply Logs.

Filtering Log Records by Content

Using this procedure, you can search for logs by different criteria, such as severity, location, category, date and time and so on.

       1.      Choose Show Advanced Filter.

       2.      In the Filter by Content frame, from the dropdown box below, select a content type for filtering.

       3.      In the adjacent dropdown field, choose the relevant restrictive conditions.

       4.      In the adjacent field, select or enter the content string, by which you want to filter logs and traces.

       5.      Choose Apply Filters.

 

More Information

Customizing Columns for Logs and Traces

Searching for Log and Trace Records

 

End of Content Area