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:
Associate a configuration file with its corresponding application
Make specific configuration changes that affect only that application
Achieve easier cleanup of applications
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. Administrators can specify the location and names of the portal log files specified in this file.
Administrators can define the following logging attributes:
Maximum size of the log file
Number of history files
Type of log level
Each Portal Server application has at least one log configuration file associated with it. This topic lists file names for the following applications:
The log configuration file name is:
portal_server_data_directory/portals/portal_ID/config/PSLogConfig.properties
Example: /var/opt/SUNWportal/portals/myPortal/config/PSLogConfig.properties
The log file location is:
portal_server_data_directory/portals/portal_ID/logs/instance_ID
Example: /var/opt/SUNWportal/portals/myPortal/logs/myInstance/
By default, one file is created. The file name is portal.0.0.log.
The log configuration file name is:
portal_server_data_directory/config/portal_ID/config/PSLogConfig.properties
Example: /var/opt/SUNWportal/portals/myPortal/config/PSLogConfig.properties
The log file location is:
portal_server_data_directory/portals/portal_ID/logs/instance_ID
Example: /var/opt/SUNWportal/portals/myPortal/logs/myInstance/
By default, one file is created. The file name is portal.0.0.log. The content is logged through PortletContext.log().
The log configuration file name is:
portal_server_data_directory/searchserver/search_ID/config/SearchLogConfig.properties
Example: /var/opt/SUNWportal/searchserver/mySearch/config/SearchLogConfig.properties
The log file location is:
portal_server_data_directory/searchserver/search_ID/logs/
Example: /var/opt/SUNWportal/searchserver/mySearch/logs/
By default, three files are created. The file names are:
rdmserver.0.0.log
rdm.0.0.log
rdmgr.0.0.log
The log configuration file name is:
portal_server_configuration_directory/PSAdminLogConfig.properties
Example: /etc/opt/SUNWportal/PSAdminLogConfig.properties
The log file location is:
portal_server_data_directory/logs/admin/
Example: /var/opt/SUNWportal/logs/admin/
By default, one file is created. The file name is portal.admin.cli.0.0.log.
The log configuration file name is:
portal_server_configuration_directory/PSAdminLogConfig.properties
Example: /etc/opt/SUNWportal/PSAdminLogConfig.properties
The log file location is:
portal_server_data_directory/logs/admin/
Example: /var/opt/SUNWportal/logs/admin/
By default, one file is created. The file name is portal.0.0.log.
The log configuration file name is:
portal_server_data_directoryportals/portal_ID/config/PSLogConfig.properties
Example: /var/opt/SUNWportal/portals/myPortal/config/PSLogConfig.properties
The log file location is:
portal_server_data_directory/logs/admin/
Example: /var/opt/SUNWportal/logs/admin/
By default, one file is created. The file name is portal.admin.console.0.0.log.
The log configuration file name is:
portal_server_configuration_directory/platform.conf.profile
Example: /etc/opt/SUNWportal/platform.conf.default
The log file location is:
portal_server_data_directory/logs/sra/profile/
Example: /var/opt/SUNWportal/logs/sra/default/
By default, one file is created. The file name is portal.gateway.0.0.log.
The log configuration file name is:
portal_server_configuration_directory/platform.conf.profile
Example: /etc/opt/SUNWportal/platform.conf.default
The log file location is:
portal_server_data_directory/logs/sra/profile/
Example: /var/opt/SUNWportal/logs/sra/default/
By default, one file is created. The file name is portal.nlproxy.0.0.log.
The log configuration file name is:
portal_server_configuration_directory/platform.conf.profile
Example: /etc/opt/SUNWportal/platform.conf.default
The log file location is:
portal_server_data_directory/logs/sra/profile/
Example: /var/opt/SUNWportal/logs/sra/default/
By default, one file is created. The file name is portal.rwproxy.0.0.log.