Sun Java System Portal Server 7 2005Q4 Release Note Supplement

list-loggers

Description

Lists all the loggers.

Syntax

Long Format

psadmin list-loggers --adminuser uid --passwordfile password-filename --component component-type [--portal portal-ID] [ --instance portal-instance-name] [ --searchserver search-server-ID] [--instance-name sra-instance-name][--detail] [--output output-filename] [--verbose]

Short Format

psadmin list-loggers -u uid -f password-filename -m [-p portal-ID] [-i portal-instance-name] [-s search-server-ID] [-o output-filename ] [-v]

Options

The following options are required:

[--adminuser | -u] uid

Specifies the administrator's distinguished name (dn) or user ID.

[--passwordfile | -f] password-filename

Specifies the administrator's password in the password file.

[--component | -m]

Specifies the component type. Valid values are: portal, search, pas, gateway, nlproxy, rwproxy.

The following options are not required:

[--portal | -p] portal-ID

Specifies the portal ID. This is required only if the --component-type is portal.

[--instance | -i] portal-instance-name

Specifies the Portal Server instance. This is required only if the --component-type is portal.

[--searchserver | -s] search-server-ID

Specifies the search server ID. This is required only if the the --component-type is search.

[--instance-name] sra-instance-name

Specifies the SRA instance name. This is required only if the --component-type is gateway, nlproxy, or rwproxy.

[--output] output-filename

Names the output file.

[--verbose | -v]

Lists loggers verbosely.

Examples


Example 22–1 list-loggers

./psadmin list-loggers -u amadmin -f passwordfile -m portal -p myPortal -i myInstance

the output is:


debug.com.sun.portal
debug.com.sun.portal.desktop 
debug.com.sun.portal.desktop.context
debug.com.sun.portal.desktop.monitoring
debug.com.sun.portal.monitoring
debug.com.sun.portal.portletappengine
debug.com.sun.portal.portletappengine.imp
debug.com.sun.portal.ubt
debug.com.sun.portal.wsrp.consumer.common
Successfully completed!


Example 22–2 list-loggers with detail

./psadmin list-loggers -u amadmin -f passwordfile -m portal -p myPortal -i myInstance --detail

the output is:


debug.com.sun.portal
Level=FINEST    Use Parent Handler=false 
Handler=java.util.logging.FileHandler
Logs to File=/var/opt/SUNWportal/portals/myPortal/logs/
%InstanceID/%logger.%u.%g.log Print Stacktrace=true
debug.com.sun.portal.desktop
Level=FINEST    Use Parent Handler=true
debug.com.sun.portal.desktop.context
Level=FINEST    Use Parent Handler=true
debug.com.sun.portal.desktop.monitoring
Level=FINEST    Use Parent Handler=true
debug.com.sun.portal.monitoring
Level=FINEST    Use Parent Handler=true
debug.com.sun.portal.portletappengine
Level=FINEST    Use Parent Handler=true
debug.com.sun.portal.portletappengine.impl
Level=FINEST    Use Parent Handler=true
debug.com.sun.portal.ubt 
Level=FINEST    Use Parent Handler=true
debug.com.sun.portal.wsrp.consumer.common
Level=FINEST    Use Parent Handler=true
Successfully completed!