| com.sun.portal.fabric.mbeans.PortalLogConfiguratorMBean
All known Subclasses: com.sun.portal.fabric.mbeans.PortalLogConfigurator,
PortalLogConfiguratorMBean | public interface PortalLogConfiguratorMBean (Code) | | |
Method Summary | |
public Hashtable | getCommonLogDetails(String componentName, String componentID, String instance) | public Hashtable | getLogFileNames(String componentName, String componentID, String instance) | public Hashtable | getLogRecords(String componentName, String componentID, String instance, Hashtable logViewerInputs) Returns a list of log records read from the log files.
Each element in the list is a Vector. | public Hashtable | getLoggerDetails(String componentType, String componentID, String instance, String loggerName) | public List | getSpecificLogDetails(String componentName, String componentID, String instance) Returns a list of Hashtable containing the details of the logger. | public Vector | listPSLoggers(String componentName, String componentID, String instance, Boolean detail) List the portal loggers. | public void | reset(String componentName, String componentID, String instance, String loggerName) Resets the level of the logger to that of the root logger. | public void | setCommonLogDetails(String componentName, String componentID, String instance, Hashtable values) | public void | setLevel(String componentName, String componentID, String instance, String loggerName, String level) Sets the level for the logger. | public void | setSeparateLogFile(String componentName, String componentID, String instance, String loggerName, String level, Boolean printStackTrace, Boolean logInParent) Sets a separate file for the logger at the level specified. | public void | setSpecificLogDetails(String componentName, String componentID, String instance, List loggersDetails) |
getCommonLogDetails | public Hashtable getCommonLogDetails(String componentName, String componentID, String instance) throws Exception(Code) | | Returns Hashtable containing the details of the logger settings
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Hashtable containing the details of the logger settings throws: Exception - |
getLogFileNames | public Hashtable getLogFileNames(String componentName, String componentID, String instance) throws Exception(Code) | | Returns the list of logger names that have separate files
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Hashtable containing the list of logger names that have separate files and the level for the logger throws: Exception - |
getLogRecords | public Hashtable getLogRecords(String componentName, String componentID, String instance, Hashtable logViewerInputs) throws Exception(Code) | | Returns a list of log records read from the log files.
Each element in the list is a Vector. Each element in the Vector
is a specific data like timestamp, message, name-value pair.
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Parameters: logViewerInputs - contains the input parameters from the page Hashtable containing list of log records read from the log files and the logfile directory for the logger throws: Exception - |
getLoggerDetails | public Hashtable getLoggerDetails(String componentType, String componentID, String instance, String loggerName) throws Exception(Code) | | Gets the details of a logger
Parameters: componentType - the name of the componentType Parameters: componentID - the ID of the componentType Parameters: instance - the name of the instance Parameters: loggerName - the name of the logger throws: Exception - |
getSpecificLogDetails | public List getSpecificLogDetails(String componentName, String componentID, String instance) throws Exception(Code) | | Returns a list of Hashtable containing the details of the logger.
For each logger there is hashtable.
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID List of Hashtable containing the details of the logger. throws: Exception - |
listPSLoggers | public Vector listPSLoggers(String componentName, String componentID, String instance, Boolean detail) throws Exception(Code) | | List the portal loggers. The logger names start with "debug."
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID list of logger names. |
reset | public void reset(String componentName, String componentID, String instance, String loggerName) throws Exception(Code) | | Resets the level of the logger to that of the root logger.
All the child logger of the logger inherit the same level.
The logging of the output is set back to the that of the root logger's file.
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Parameters: loggerName - the name of the logger. |
setCommonLogDetails | public void setCommonLogDetails(String componentName, String componentID, String instance, Hashtable values) throws Exception(Code) | | Sets the details of the logger settings
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Parameters: values - contains the details of the logger settings throws: Exception - |
setLevel | public void setLevel(String componentName, String componentID, String instance, String loggerName, String level) throws Exception(Code) | | Sets the level for the logger.
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Parameters: loggerName - the name of the logger Parameters: level - the level for the logger |
setSeparateLogFile | public void setSeparateLogFile(String componentName, String componentID, String instance, String loggerName, String level, Boolean printStackTrace, Boolean logInParent) throws Exception(Code) | | Sets a separate file for the logger at the level specified.
No stack-trace is logged for the levels INFO and below.
The content does not go to the file associated with the parent logger.
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Parameters: loggerName - the name of the logger Parameters: level - the level for the logger Parameters: printStackTrace - specifies whether the stack trace is to be printed Parameters: logInParent - specifies whether the content has to logged in the parent |
setSpecificLogDetails | public void setSpecificLogDetails(String componentName, String componentID, String instance, List loggersDetails) throws Exception(Code) | | Sets the details of the logger
Parameters: componentName - the name of the componenteg: portal, search, pas, gateway, rwproxy, nlproxy Parameters: componentID - the ID of the componentportal - Portal IDsearch - Search Server IDpas - not applicablegateway,rwproxy,nlproxy - Host name Parameters: instance - the name of the instanceportal - Instance IDsearch - not applicablepas - not applicablegateway,rwproxy,nlproxy - profile ID Parameters: loggersDetails - contains the details of the loggers throws: Exception - |
|
|