Show TOC

Procedure documentationPredefined General Views Locate this document in the navigation structure

 

Use these predefined views to view logs and traces on an AS Java system. These logs records are commonly addressed to system administrators and customers.

Prerequisites

Open the Log Viewer tool by choosing   SAP NetWeaver Administrator   Problem management   Logs and Traces   Log Viewer  .

Procedure

Predefined View

Description

SAP Logs (Java)

Shows a table of merged log records from all list formatted log files, except for defaultTrace.trc, on all selected systems.

Last 24 Hours (Java)

Shows a table of merged log records from all list formatted log files, written in the last 24 hours on all selected systems.

The following filter by content is set: Date & Time-Relative equals last 24 hours.

Alert (Java)

Shows a table of merged log records from all list formatted log files, except for defaultTrace.trc with severity ERROR and FATAL, on all selected systems.

The following filter by content is set: Severity is greater than or equal to error.

Default Trace (Java)

Shows a table of merged trace records written in defaultTrace.trc file on all selected systems.

Text Formatted Traces (Java)

Shows text formatted log records written on all selected systems. Text formatted logs are not merged in a table.

Expert

Allows you to view the user defined set of log records, on all selected systems. These logs correspond to traces of the Startup Framework. They give information about behaving of the AS Java at startup.

Caution Caution

These logs are mainly for internal usage by SAP developers and support. Therefore, we strongly recommend that you do not configure them.

End of the caution.

More information: Using Predefined Development Views.

Sys Logs (ABAP)

Shows a table of log records written in the ABAP Sys Log set of files.

Note Note

You can set filters by content only.

End of the note.

Log Archives (Java)

Allows you to view archives of log records, both list and text formatted on all selected systems.

The default directory where archives of logs are stored is: usr\sap\<SID>\JC<Instance number>\j2ee\cluster\ <server>\log\archive.

In the archive folder there is a sub-folder temp where the log and trace files of each archive are extracted. After you leave the Log Archives (Java) view, the log and trace files are not deleted from the temp directory.

More information:Configuring Log Files Archiving

Change Log

Shows log records about all changes made in the AS Java configurations. This logs are stored in a separated log file directory <SAP _install_dir>\<system_name>\<instance_name>\j2ee\cluster\change.

Standalone Log Viewer

More information: Using Standalone Log Viewer.

  1. From Show View dropdown box, choose General and then select a predefined view.

    The newest log records are displayed at the top.

  2. To display a table on a separate screen with all the relevant log files, choose Show all Log Files included in this set of log records (Show all Log Files included in this set of log records) .

  3. From Display Log File, you can find all the files containing logs for the selected general view.

    Note Note

    This dropdown box is relevant only for text-formatted logs.

    End of the note.
  4. Choose Show Advanced Filter.

    You can apply various types of filtering log records for all general views.

    More information: Filtering Logs and Traces.