Show TOC Start of Content Area

Procedure documentation Trace and Log Files  Locate the document in its SAP Library structure

Use

Trace and log files are essential troubleshooting tools. Portal Runtime for .NET uses the portal logger for its logs and trace files.

Procedure

Configuring the Logger

To enable logging for Portal Runtime for .NET, you need to configure the logger with the J2EE Visual Administrator:

...

...

       1.      Go to <Portal J2EE Folder>\admin and run the go script.

       2.      Log on to the Visual Administrator. In the Cluster window, select the portal server you want to configure, expand the Services node and double-click Log Configurator.

       3.      In the window that opens, click the Location tab, and click To Advanced Mode.

       4.      In the Log Controllers window, go to com sap portal dotnet in the tree and select the severity level as required.

       5.      Click Save.

For more information about using the Visual Administrator, see Visual Administrator in the SAP NetWeaver Technical Operations Manual.

Viewing the Logs

To view the logs with the Log Viewer:

...

...

...

...

       1.      Go to <Portal J2EE Folder>\admin\logviewer-standalone and run the logviewer script.

       2.      Log on to Log Viewer.

                               a.      In the file tree, expand the Localhost <Portal J2EE Folder>\cluster\serverXX logs, and open the Defaulttrace.trc file for the relevant server node.

                               b.      In the right pane, view the log. To filter the messages for Portal Runtime for .NET, enter dotnet in the Find field.

For more information about using the Log Viewer, see Monitoring and Displaying Log Files in the SAP NetWeaver Technical Operations Manual.

End of Content Area