Show TOC Start of Content Area

Procedure documentation Starting and Stopping the Standalone Log Viewer  Locate the document in its SAP Library structure

Use

Use this procedure if you want to:

     Start the Standalone Log Viewer to view log files on your local host

     Start the Standalone Log Viewer to view log files on a remote host

     Start the Standalone Log Viewer client using the command line options

     Stop the Standalone Log Viewer server.

Procedure

Activity

Steps

Viewing log files on your local host

...

       1.      In the file system, go to the /usr/sap/<SID>/JC<Instance number>/j2ee/admin/logviewer-standalone directory.

       2.      Run the logviewer script file.

The log files that are registered on your local host are displayed.

Viewing logs and traces on a J2EE Engine which is not running on your local host or on a remote host

...

       1.      On your local host or on the remote host respectively, go to the /usr/sap/<SID>/JC<Instance number>/j2ee/admin/logviewer-standalone directory.

       2.      Run the remoteserver script file.

Note

The remote server which runs on a remote host is configured to listen for logs using an NI socket connection. The Standalone Log Viewer client also tries to connect to the server using an NI socket connection. The NI connection is established via a SAProuter which allows connections through corporate firewalls.

       3.      On your local host, go the /usr/sap/<SID>/JC<Instance number>/j2ee/admin/logviewer-standalone directory.

       4.      Run the logviewer script file.

       5.      Configure the connection from the client to the server.

Starting the Standalone Log Viewer client using the command line options

 

       1.      In the file system, go to the /usr/sap/<SID>/JC<Instance number>/j2ee/admin/logviewer-standalone directory.

       2.      To view the options that are available depending on the type of connection you want to establish, in the command line, execute the following command: logviewer.bat -h (on Microsoft Windows) or logviewer.sh -h (on UNIX).

Stopping the Standalone Log Viewer server

...

       1.      Go to the /usr/sap/<SID>/JC<Instance number>/j2ee/admin/logviewer-standalone directory.

       2.      Run the stopserver script file.

...

For more information about the types of connections that you can establish, see Configuring the Connection from the Client to a Server.

 

 

End of Content Area