public interface IAppLogRetriever
com.sap.tc.logging
Modifier and Type | Field and Description |
---|---|
static int |
MATCH_APPLICATION
Deprecated.
|
static int |
MATCH_CURRENT_URI
Deprecated.
|
static int |
MATCH_LOG_TEXT
Deprecated.
|
static int |
MATCH_NONE
Deprecated.
|
static int |
MATCH_ORIGINAL_URI
Deprecated.
|
static int |
MATCH_PARAMETERS
Deprecated.
|
static int |
SORT_KEY_APP_ID
Deprecated.
|
static int |
SORT_KEY_DATE
Deprecated.
|
static int |
SORT_KEY_LOG_LEVEL
Deprecated.
|
static int |
SORT_KEY_PRIMAL_URI
Deprecated.
|
static int |
SORT_KEY_PRINCIPAL
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IAppLogEntryList |
retrieve(boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
Date dateFrom,
Date dateTo,
int matchType,
String matchText,
int principalType,
String principalName,
Integer sortKey)
Deprecated.
Retrieve application log entries
|
IAppLogEntryList |
retrieve(Integer logLevel,
Date dateFrom,
Date dateTo,
String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
Integer sortKey)
Deprecated.
As of NetWeaver 7.1, replaced by
retrieve(boolean,boolean,boolean,boolean,boolean,boolean,Date,Date,int,String,int,String,Integer) |
boolean |
retrieve2file(String filename,
boolean error,
boolean warning,
boolean control,
boolean info,
boolean debug,
boolean data,
Date dateFrom,
Date dateTo,
int matchType,
String matchText,
int principalType,
String principalName,
Integer sortKey)
Deprecated.
Retrieve application log entries and store them in a file
|
boolean |
retrieve2file(String filename,
Integer logLevel,
Date dateFrom,
Date dateTo,
String appId,
com.sapportals.portal.security.usermanagement.IUMPrincipal principal,
Integer sortKey)
Deprecated.
As of NetWeaver 7.1, replaced by
retrieve2file(String,boolean,boolean,boolean,boolean,boolean,boolean,Date,Date,int,String,int,String,Integer) |
boolean |
retrieve2fileUME(String filename,
Integer logLevel,
Date dateFrom,
Date dateTo,
String appId,
IPrincipal principal,
Integer sortKey)
Deprecated.
As of NetWeaver 7.1, replaced by the SAP Logging API.
|
IAppLogEntryList |
retrieveUME(Integer logLevel,
Date dateFrom,
Date dateTo,
String appId,
IPrincipal principal,
Integer sortKey)
Deprecated.
As of NetWeaver 7.1, replaced by the SAP Logging API.
|
static final int MATCH_NONE
static final int MATCH_APPLICATION
static final int MATCH_LOG_TEXT
static final int MATCH_PARAMETERS
static final int MATCH_ORIGINAL_URI
static final int MATCH_CURRENT_URI
static final int SORT_KEY_LOG_LEVEL
static final int SORT_KEY_DATE
static final int SORT_KEY_APP_ID
static final int SORT_KEY_PRINCIPAL
static final int SORT_KEY_PRIMAL_URI
IAppLogEntryList retrieve(Integer logLevel, Date dateFrom, Date dateTo, String appId, com.sapportals.portal.security.usermanagement.IUMPrincipal principal, Integer sortKey) throws AppLogException
retrieve(boolean,boolean,boolean,boolean,boolean,boolean,Date,Date,int,String,int,String,Integer)
logLevel
- maximum level for entries (null for all levels)dateFrom
- don't retrieve entries which are older (may be null)dateTo
- don't retrieve entries which are younger (may be null)appId
- the application attribute of the entry must contain this text
(may be null)principal
- principal to search for (may be null)sortKey
- specifies the sorting of the returned entries (may be null)AppLogException
- thrown in case of errorIAppLogEntryList retrieveUME(Integer logLevel, Date dateFrom, Date dateTo, String appId, IPrincipal principal, Integer sortKey) throws AppLogException
logLevel
- maximum level for entries (null for all levels)dateFrom
- don't retrieve entries which are older (may be null)dateTo
- don't retrieve entries which are younger (may be null)appId
- the application attribute of the entry must contain this text
(may be null)principal
- principal to search for (may be null)sortKey
- specifies the sorting of the returned entries (may be null)AppLogException
- thrown in case of errorcom.sap.tc.logging
boolean retrieve2file(String filename, Integer logLevel, Date dateFrom, Date dateTo, String appId, com.sapportals.portal.security.usermanagement.IUMPrincipal principal, Integer sortKey) throws AppLogException
retrieve2file(String,boolean,boolean,boolean,boolean,boolean,boolean,Date,Date,int,String,int,String,Integer)
filename
- the name of the file where the matching entries are storedlogLevel
- maximum level for entries (null for all levels)dateFrom
- don't retrieve entries which are older (may be null)dateTo
- don't retrieve entries which are younger (may be null)appId
- the application attribute of the entry must contain this text
(may be null)principal
- principal to search for (may be null)sortKey
- specifies the sorting of the returned entries (may be null)AppLogException
- thrown in case of errorboolean retrieve2fileUME(String filename, Integer logLevel, Date dateFrom, Date dateTo, String appId, IPrincipal principal, Integer sortKey) throws AppLogException
filename
- the name of the file where the matching entries are storedlogLevel
- maximum level for entries (null for all levels)dateFrom
- don't retrieve entries which are older (may be null)dateTo
- don't retrieve entries which are younger (may be null)appId
- the application attribute of the entry must contain this text
(may be null)principal
- principal to search for (may be null)sortKey
- specifies the sorting of the returned entries (may be null)AppLogException
- thrown in case of errorcom.sap.tc.logging
IAppLogEntryList retrieve(boolean error, boolean warning, boolean control, boolean info, boolean debug, boolean data, Date dateFrom, Date dateTo, int matchType, String matchText, int principalType, String principalName, Integer sortKey) throws AppLogException
error
- include entries of log level error?warning
- include entries of log level warning?control
- include entries of log level control?info
- include entries of log level info?debug
- include entries of log level debug?data
- include entries of log level data?dateFrom
- don't retrieve entries which are older (may be null)dateTo
- don't retrieve entries which are younger (may be null)matchType
- the speficied entry attribute must contain the matchTextmatchText
- text which must be part of the entry attribute specified
by matchType (may be null)principalType
- type of the principal to search for
(will be ignored!)principalName
- name of the principal to search for (may be null)sortKey
- specifies the sorting of the returnes entries (may be null)AppLogException
- thrown in case of errorboolean retrieve2file(String filename, boolean error, boolean warning, boolean control, boolean info, boolean debug, boolean data, Date dateFrom, Date dateTo, int matchType, String matchText, int principalType, String principalName, Integer sortKey) throws AppLogException
filename
- the name of the file where the matching entries are storederror
- include entries of log level error?warning
- include entries of log level warning?control
- include entries of log level control?info
- include entries of log level info?debug
- include entries of log level debug?data
- include entries of log level data?dateFrom
- don't retrieve entries which are older (may be null)dateTo
- don't retrieve entries which are younger (may be null)matchType
- the speficied entry attribute must contain the matchTextmatchText
- text which must be part of the entry attribute specified
by matchType (may be null)principalType
- type of the principal to search for
(will be ignored!)principalName
- name of the principal to search for (may be null)sortKey
- specifies the sorting of the returnes entries (may be null)AppLogException
- thrown in case of errorAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice