Show TOC Start of Content Area

Procedure documentation Opening Archives of Log Files  Locate the document in its SAP Library structure

Use

You can view the archives of 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 to 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 /usr/sap/<SID>/JC<Instance number>/j2ee/cluster/<Dispatcher or server>/log/archive. In the Log Viewer, if a log file has archives, you can see them as subnodes of the log file.

Note

When you open archives of logs and traces, the log and trace files of each archive are extracted to a subdirectory of the operating system’s temporary directory. The log and trace files are not deleted from the temporary directory. The next time you want to view the same archives, they will be displayed faster.

Procedure

...

If You Want To

Then

Open a single archive of log files

       1.      In the pane on the left, browse the tree and go to the node of the log whose archive you want to open.

       2.      Expand the node of the log and double-click the archive you want to open.

Log records are displayed in a table in the pane on the right.

Merge and display log files of two or more archives

...

       1.      In the pane on the left, browse the tree and go to the node of the log whose archive you want to open.

       2.      Expand the node of the log and select two or more archives of list formatted log files.

Note

You can select two or more archives by holding down the CTRL key and clicking the archives with the primary mouse button.

       3.      In the context menu, choose Merge files and display.

The log files that you have selected are merged and displayed in a table in the pane on the right.

 

See also:

Searching Log Records

Filtering Log Records

Sorting Log Records

 

 

End of Content Area