Sun Java System Portal Server 7 Technical Overview

Logging

The Portal Server logging API is an implementation of the JSR 47: Logging API Specification. Each Portal Server application has its own configuration file. Portal administrators can do the following:

By default, the log file directory is /var/opt/sun/portal/portals/portal1/logs/portal-server-instance. The com.sun.portal.log.config.file properties file provides the default configuration of the logging system. You can specify the location and names of the portal log files specified in this file.

Administrators can define the following logging attributes:

If a portal administrator uses a tool to view web container logs, the Portal Server logging framework enables the administrator to use the tool to view portal logs as well.

Application Log Configuration Files

Each Portal Server application has at least one log configuration file associated with it. This topic lists file names for the following applications:

Portal Instance

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.0.0.log.

Portlet Applications

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.0.0.log. The content is logged through PortletContext.log().

Search Application

The log configuration file name is:

The log file location is:

By default, three files are created. The file names are:

Administrative CLIs

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.admin.cli.0.0.log.

Portal Administration Server

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.0.0.log.

Management Console

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.admin.console.0.0.log.

Gateway

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.gateway.0.0.log.

Netlet Proxy

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.nlproxy.0.0.log.

Rewriter Proxy

The log configuration file name is:

The log file location is:

By default, one file is created. The file name is portal.rwproxy.0.0.log.

ProcedureTo Manage Portal Server Logging

  1. Log in to the Portal Server management console.

    The Common Tasks page is displayed.

  2. Click the Portals tab.

    The Portals page is displayed.

  3. Click the name of the portal that you want to examine.

    The Desktop Tasks and Attributes page is displayed.

  4. Click the Logging tab.

    The Log Viewer page is displayed.

  5. From the Instance Name scrollbar, select a portal instance.

    The logging options are displayed.

  6. Set the search criteria, and click Search.

    The information is displayed in the Search Results section.

    For more information, click the Help button to view online help.

ProcedureTo Manage Search Server Logging

  1. Log in to the Portal Server management console.

    The Common Task page is displayed.

  2. Click the Search Servers tab.

    The Search Servers page is displayed.

  3. Click the name of the search server that you want to examine.

    The Search Server Settings page is displayed.

  4. Click the Reports tab.

    The Log Files page is displayed.

  5. Select the reports that you want.

    • To view log file contents, click the Logs tab.

    • To view robot report files, click the Advanced Robot Reports tab.

    • To view information about end-user searches, click the Manage Popular Searches tab.

    • To view information about URLs that were excluded during a robot run, click the Manage Excluded URLs button.

    For more information, click the Help button to view online help.