public class SAFSLoggingService3 extends AbstractSAFSLoggingService implements com.ibm.staf.service.STAFServiceInterfaceLevel30
AbstractSAFSLoggingService
closeParser, customService, debugLog, defaultDir, handle, HELP_MSGTYPE_STR, HELP_STR, helpParser, initParser, listParser, logfacs, logLevelParser, logMessageParser, mode, procName, queryParser, remoteMachine, remoteService, resumeLogParser, servicename, SLS_SERVICE_MODE_LOCAL, SLS_SERVICE_MODE_REMOTE, SLS_SERVICE_OPTION_CUSTOMLOGGING, SLS_SERVICE_OPTION_DIR, SLS_SERVICE_OPTION_NAME, SLS_SERVICE_OPTION_REMOTE, SLS_SERVICE_PARM_ALL, SLS_SERVICE_PARM_CAPXML, SLS_SERVICE_PARM_CONSOLELOG, SLS_SERVICE_PARM_DEBUG, SLS_SERVICE_PARM_DESCRIPTION, SLS_SERVICE_PARM_ERROR, SLS_SERVICE_PARM_INFO, SLS_SERVICE_PARM_LINKEDFAC, SLS_SERVICE_PARM_MESSAGE, SLS_SERVICE_PARM_MSGTYPE, SLS_SERVICE_PARM_OFF, SLS_SERVICE_PARM_ON, SLS_SERVICE_PARM_OVERWRITE, SLS_SERVICE_PARM_SETTINGS, SLS_SERVICE_PARM_TEXTLOG, SLS_SERVICE_PARM_TOOLLOG, SLS_SERVICE_PARM_WARN, SLS_SERVICE_PARM_XMLLOG, SLS_SERVICE_REQUEST_CLOSE, SLS_SERVICE_REQUEST_HANDLEID, SLS_SERVICE_REQUEST_HELP, SLS_SERVICE_REQUEST_INIT, SLS_SERVICE_REQUEST_LIST, SLS_SERVICE_REQUEST_LOGLEVEL, SLS_SERVICE_REQUEST_LOGMESSAGE, SLS_SERVICE_REQUEST_QUERY, SLS_SERVICE_REQUEST_RESUMELOG, SLS_SERVICE_REQUEST_SUSPENDLOG, SLS_SERVICE_REQUEST_TRUNCATE, SLS_SERVICE_REQUEST_VERSION, SLS_SETTINGS_CUSTOM_LOGGING_PREFIX, SLS_SETTINGS_DEFAULT_DIR_PREFIX, SLS_SETTINGS_MODE_PREFIX, SLS_SETTINGS_REMOTE_MACHINE_PREFIX, SLS_SETTINGS_REMOTE_SERVICE_PREFIX, SLS_STAF_LOG_SERVICE_NAME, SLS_STATES_CONSOLELOG_PREFIX, SLS_STATES_LOGLEVEL_PREFIX, SLS_STATES_TOOLLOG_PREFIX, SLS_TRUNCATELENGTH_DEFAULT, suspendLogParser, truncateLength, truncateLines, truncateParser, VERSION_STR
Constructor and Description |
---|
SAFSLoggingService3() |
Modifier and Type | Method and Description |
---|---|
com.ibm.staf.STAFResult |
acceptRequest(com.ibm.staf.service.STAFServiceInterfaceLevel30.RequestInfo requestInfo)
Handles service request from STAF.
|
protected AbstractSTAFTextLogItem |
getSTAFTextLogItem(java.lang.String name,
java.lang.String directory,
java.lang.String filename) |
protected AbstractSTAFXmlLogItem |
getSTAFXmlLogItem(java.lang.String name,
java.lang.String directory,
java.lang.String filename) |
com.ibm.staf.STAFResult |
init(com.ibm.staf.service.STAFServiceInterfaceLevel30.InitInfo initInfo)
Handles initializing this instance of the service for STAF.
|
com.ibm.staf.STAFResult |
term()
Handles removing this service from STAF.
|
acceptRequest, createCloseParser, createHelpParser, createInitParser, createListParser, createLogLevelParser, createLogMessageParser, createQueryParser, createResumeParser, createSuspendLogParser, createTruncateParser, handleClose, handleHandleId, handleHelp, handleInit, handleList, handleLogLevel, handleLogMessage, handleQuery, handleResumeLog, handleSuspendLog, handleTruncate, handleVersion, init, initSTAFLogService, loadServiceInitParameters, normalizeAltname, registerHandle, terminate
public com.ibm.staf.STAFResult init(com.ibm.staf.service.STAFServiceInterfaceLevel30.InitInfo initInfo)
This service is registered under process name "STAF/Service/<ServiceName>".
init
in interface com.ibm.staf.service.STAFServiceInterfaceLevel30
public com.ibm.staf.STAFResult acceptRequest(com.ibm.staf.service.STAFServiceInterfaceLevel30.RequestInfo requestInfo)
acceptRequest
in interface com.ibm.staf.service.STAFServiceInterfaceLevel30
public final com.ibm.staf.STAFResult term()
All log facilities are forced to close.
term
in interface com.ibm.staf.service.STAFServiceInterfaceLevel30
protected AbstractSTAFTextLogItem getSTAFTextLogItem(java.lang.String name, java.lang.String directory, java.lang.String filename)
getSTAFTextLogItem
in class AbstractSAFSLoggingService
protected AbstractSTAFXmlLogItem getSTAFXmlLogItem(java.lang.String name, java.lang.String directory, java.lang.String filename)
getSTAFXmlLogItem
in class AbstractSAFSLoggingService
Copyright © SAS Institute. All Rights Reserved.