Start of Content Area

Procedure documentation Displaying Log Messages  Locate the document in its SAP Library structure

Use

You can display all VMC log messages in the VMC Administration (SM53).

The log viewer has been developed for this purpose. It combines all the logs written by VMC logging and tracing and allows you to select messages according to the log controller, severity, time, and so on.

 

Note

Normally, messages are written to text files located in the $DIR_HOME directory, and they can be read directly or in transaction AL11. Older logs or traces are located in the logs subdirectory.  Applications that run on the VMC normally use files vmc_w<WORK PROCESS ID>.trc for tracing, and files vmc_w<WORK PROCESS ID>.log for logging. This directory also contains diverse trace files whose names begins with dev_. As you can configure which log controller writes to which file, there is no default log controller and file.

Procedure

...

       1.      In the left frame of the VMC administration (SM53) choose Log Administration Log Display.

       2.      Select a log by choosing in the top left of the hierarchical structure the available locations and categories as the sources of the messages for which you want to see the logs (see Logging and Tracing in the VM Container). If a node of a tree is selected or deselected, all the nodes of the subtree are automatically selected/deselected too.

       3.      Use the filter settings to further restrict the amount of messages found.

Example

To search specifically for errors you can for instance hide messages with a severity smaller than WARNING and restrict the time period. Errors that occurred in a specific session may be traced more easily if messages from this session only are displayed.

You can restrict the number of hits in the lower left area according to the following criteria:

     Severity: Severity of the message.Displays only messages with the selected or higher level of severity (see Severity).

     Log Name: Displays only log messages with this name (for very specific searches).

     User: Displays only log messages that were created under the user specified.

     Client: Displays only log messages that were written in this client.

     Session: Displays only log messages from this session. You can view the session IDs of the active sessions if you choose Sessions in the initial screen of the VMC system administration and then look in the column Session ID.

     Thread: Displays log messages from this thread only (for very specific searches)

     Messages by Date/Time: Displays only log messages written after this date and time.

     Messages up to Date/Time: Displays only log messages written before this date and time.

       4.      Choose the icon This graphic is explained in the accompanying text Update Log Messages.The requested log messages are now displayed in the top right area.

Note

A maximum of 1000 messages can be retrieved at one time. If more than 1000 messages exist, this is indicated in the status bar and you can scroll through them using the scrolling buttons in the function key menu bar.

The messages last transferred are listed in the table. You can sort them, search them, or export them to a file. If a single line display in the table is not sufficient, you can view individual messages in detail by double-clicking on them.

 

 

End of Content Area