Filtering and Viewing Logs and Traces in Archives View
Use
You can view archives for both list and text formatted logs and traces. By default, logs are written to five files, each file with a maximum size of 10 MB. When the fifth file is completed, the set of five files is backed up into a ZIP file. Then, the new logs start overwriting the old log files. The default directory where archives of logs are stored for the dispatcher and the server processes is <Drive>:\usr\sap\<SID>\JC<Instance number>\j2ee\cluster\<Dispatcher or server>\log\archive .
Procedure
-
From the Get dropdown box, select Predefined View and then, from the adjacent dropdown box, select Archives .
-
Choose Open Filter .
Applying Filters by Data Source
-
To display archives of all list and text formatted logs and traces on a data source location, in the Filter by Data Source frame, select <Select Data Source> , and then from the dropdown box below select Get all logs from .
-
Choose
.A dialog box with data source locations appears.
-
Select a data source location.
-
To exclude archives of all list and text formatted logs and traces on a data source location, in the Filter by Data Source frame, select <Select Data Source> , and then from the dropdown box below select Exclude all logs from .
-
Choose
.A dialog box with data source locations appears.
-
Select a data source location.
-
Choose Apply Data Sources .
Selecting Log File Archives
-
In the Archive Browser frame, select <Select Archive> and then from the dropdown box below, select Get archives for log file named .
-
In the adjacent field, you can enter a log file name or in the next field, you can choose
.A dialog box with names of log and trace files that have archives appears.
-
Select a log or trace file name whose archive you want to display.
-
To merge list formatted logs and traces, select the Merge Archives If Possible indicator.
-
Choose Apply Archives .
Applying Filters by Content
-
In the Filter by Content frame, Date is between is selected. In the adjacent field you, can enter the start date for the archives you want to display or you can choose
. -
In the next field, you can enter the end date for the archives you want to display or you can choose
. -
Choose Apply Filters .
-
If you have selected to display the archive for only one text formatted log or trace, a table with all message texts from the log or trace that meets the filter criteria appears. The message text of the oldest log or trace file is displayed at the top.
-
If you have selected to display archives of two or more text formatted logs or traces, separate tables with all message texts from the different logs and traces that meet the filter criteria appear.
-
If you have selected to merge the log and trace files, you get a table with all log and trace files on all data source locations that meet the filter criteria. The newest record is displayed at the top.
-
If you have not selected to merge the log and trace files, you get separate tables for the different log and trace files that meet the filter criteria.
-
-
In the Filter by Content frame, select <Select Filter> to filter the content of the log and trace records you want to display further. For more information about the content you can filter, see List of Columns for Logs and Traces .
-
Choose Apply Filters .
-
From the Display Log File dropdown box, select a log or trace file name and then from the From dropdown box select a data source location.
Opening Record Details and Full Record Information
-
Select a list formatted log or trace record you want to view and choose Open Record Details .
Record details including the columns that are selected during column customization appear.
-
To view the full record information, choose Open Full Record Information.
Record details including all columns that are available for column customization appear.
See also: