SAP ABAP Class CL_SYSLOG (System log)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-MON-SLG (Application Component) SAP System Log
     SYSLOG (Package) System log
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_SYSLOG_4TEST Syslog class for unit tests (don't read from kernel) 20120515
Properties
Class CL_SYSLOG  
Short Description System log    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SYSLOG   System log 
Created 20120504   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_SYSLOG_FILTER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_SYSLOG has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_SYSLOG_STATISTICS 20120814 Container for the statistics controls
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ICON_GREEN Instance attribute Private Type reference (TYPE) IBD_PRIORITY_ALV green priority icon 20120810
2 ICON_RED Instance attribute Private Type reference (TYPE) IBD_PRIORITY_ALV red priority icon 20120810
3 ICON_WHITE Instance attribute Private Type reference (TYPE) IBD_PRIORITY_ALV white priority icon 20120810
4 ICON_YELLOW Instance attribute Private Type reference (TYPE) IBD_PRIORITY_ALV yellow priority icon 20120810
5 INSTANCES_NO_ACCESS Instance attribute Private Type reference (TYPE) RSLGT_NO_ACCESS Instances with no access 20120710
6 LAST_POS Instance attribute Private Type reference (TYPE) FC 20120504
7 M_FILTER Instance attribute Private Object reference (TYPE REF TO) CL_SYSLOG_FILTER 20120504
8 M_INSTANCE_LIST Instance attribute Private See coding 20120816
9 PARAMETER_STORE Instance attribute Private Object reference (TYPE REF TO) CL_SYSLOG_PARAMETER_STORE Provides a cache for special syslog parameters 20120504
10 STAT_CLIENT Constant Public Type reference (TYPE) STRING 'MANDT' Associated Type of an Interface Parameter 20120504
11 STAT_DEVCLASS Constant Public Type reference (TYPE) STRING 'DEVCLASS' Associated Type of an Interface Parameter 20120504
12 STAT_INSTANCE Constant Public Type reference (TYPE) STRING 'INSTANCEX' Associated Type of an Interface Parameter 20120814
13 STAT_MESSAGE Constant Public Type reference (TYPE) STRING 'RSLGNO' Associated Type of an Interface Parameter 20120504
14 STAT_PROG Constant Public Type reference (TYPE) STRING 'PROGRAM_ID' Associated Type of an Interface Parameter 20120504
15 STAT_ROOT Constant Public Type reference (TYPE) STRING 'ROOT' Associated Type of an Interface Parameter 20120504
16 STAT_TX Constant Public Type reference (TYPE) STRING 'TCODE' Associated Type of an Interface Parameter 20120504
17 STAT_USER Constant Public Type reference (TYPE) STRING 'RSLGUSER' Associated Type of an Interface Parameter 20120504
18 SYSLOG_ENTRY Instance attribute Private Type reference (TYPE) RSLGENTR_NEW 20120504
19 SYSLOG_TABLE_FILTERED Instance attribute Private Type reference (TYPE) RSLGENTR_TAB 20120504
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_ENTRY Instance method Public Method Append a raw syslog entry (from the file) 20120504
2 APPEND_INSTANCE Instance method Private Method Add another instance name selected by this syslog. 20120816
3 CONSTRUCTOR Instance method Protected Constructor 20120504
4 DETERMINE_SEVERITY Instance method Private Method 20120504
5 DETERMINE_SYSLOG_TAB Instance method Private Method 20120504
6 DETERMINE_SYSLOG_TEXT Instance method Private Method 20120504
7 DETERMINE_SYSLOG_TYPE Instance method Private Method 20120504
8 GET_COUNT Instance method Public Method 20120504
9 GET_ENTRIES Instance method Public Method 20120504
10 GET_FAILED_INSTANCES Instance method Public Method Get list of servers from which the syslog could not be read 20120710
11 GET_INSTANCE_BY_FILTER Static method Public Method Get a syslog instance with filter criteria. 20120515
12 GET_STATISTICS Instance method Public Method 20120504
13 GET_VERSION Static method Public Method Get syslog version and record length. 20121212
14 IS_FILTER_APPLIED Instance method Private Method 20120504
15 PRIV_GET_SYSLOG_VERSION Static method Private Method Get syslog version and record length from kernel 20121211
16 READ_ENTRIES Instance method Public Method 20120504
17 READ_LOCAL_ENTRIES Instance method Private Method 20121029
18 RELOAD Instance method Public Method 20120504
19 UPDATE Instance method Public Method 20120504
Events
Class CL_SYSLOG has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 FC Public See coding 20120504 BEGIN OF fc , pos TYPE i , wrapcount TYPE i , maxsize TYPE i , END of fc
Method Signatures

Method APPEND_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_ENTRY Call by reference Type reference (TYPE) RSLGENTR_NEW 20120504
2 Importing IM_INSTANCE Call by reference Type reference (TYPE) MSNAME2 System list structure 20120702

Method APPEND_ENTRY on class CL_SYSLOG has no exception.

Method APPEND_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_INSTANCENAME Call by reference Type reference (TYPE) INSTANCEX Instance Name 20120816

Method APPEND_INSTANCE on class CL_SYSLOG has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FILTER Call by reference Object reference (TYPE REF TO) CL_SYSLOG_FILTER 20120504
2 Importing IM_XML_DATA Call by reference Type reference (TYPE) XSTRING 20120504

Method CONSTRUCTOR on class CL_SYSLOG has no exception.

Method DETERMINE_SEVERITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_SYSLOGENTRY Call by reference Type reference (TYPE) RSLGENTRY 20120504

Method DETERMINE_SEVERITY on class CL_SYSLOG has no exception.

Method DETERMINE_SYSLOG_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_SYSLOGENTRY Call by reference Type reference (TYPE) RSLGENTRY 20120504

Method DETERMINE_SYSLOG_TAB on class CL_SYSLOG has no exception.

Method DETERMINE_SYSLOG_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_SYSLOGENTRY Call by reference Type reference (TYPE) RSLGENTRY 20120504

Method DETERMINE_SYSLOG_TEXT on class CL_SYSLOG has no exception.

Method DETERMINE_SYSLOG_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SYSLOG_ENTRY_INT Call by reference Type reference (TYPE) RSLGENTR_NEW 20120504
2 Changing P_SYSLOGENTRY Call by reference Type reference (TYPE) RSLGENTRY 20120504

Method DETERMINE_SYSLOG_TYPE on class CL_SYSLOG has no exception.

Method GET_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning COUNT Value transfer Type reference (TYPE) I 20120504

Method GET_COUNT on class CL_SYSLOG has no exception.

Method GET_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SYSLOG_ENTRIES Value transfer Type reference (TYPE) RSLGENTR_TAB 20120504

Method GET_ENTRIES on class CL_SYSLOG has no exception.

Method GET_FAILED_INSTANCES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_INSTANCES Value transfer Type reference (TYPE) RSLGT_NO_ACCESS Instances with no access 20120710

Method GET_FAILED_INSTANCES on class CL_SYSLOG has no exception.

Method GET_INSTANCE_BY_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FILTER Call by reference Object reference (TYPE REF TO) CL_SYSLOG_FILTER Filter for syslog entries 20120515
2 Returning RE_SYSLOG Value transfer Object reference (TYPE REF TO) CL_SYSLOG System log 20120515
# Exception Resumable Description Created on
1 CX_SYSLOG_READ_AUTHORIZATION Authorization to read syslog is missing 20120618

Method GET_STATISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_WHICH_STATISTICS Call by reference Type reference (TYPE) STRING Possible values: see attributes stat_... 20120504
2 Returning RE_STATISTICS Value transfer Type reference (TYPE) RSLGSTATISTIC_TAB 20120504

Method GET_STATISTICS on class CL_SYSLOG has no exception.

Method GET_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RECORDSIZE Call by reference Type reference (TYPE) I 20121212
2 Exporting EV_VERSION Call by reference Type reference (TYPE) RSLGINTVER SysLog: internal version number 20121212

Method GET_VERSION on class CL_SYSLOG has no exception.

Method IS_FILTER_APPLIED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SYSLOG_ENTRY Call by reference Type reference (TYPE) RSLGENTRY 20120504
2 Returning RE_MATCHES_FILTER Value transfer Type reference (TYPE) ABAP_BOOL 20120522

Method IS_FILTER_APPLIED on class CL_SYSLOG has no exception.

Method PRIV_GET_SYSLOG_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting RECORDSIZE Call by reference Type reference (TYPE) I 20121211
2 Exporting VERSION Call by reference Type reference (TYPE) RSLGINTVER SysLog: internal version number 20121211

Method PRIV_GET_SYSLOG_VERSION on class CL_SYSLOG has no exception.

Method READ_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_READFROM Call by reference Type reference (TYPE) FC 20120504
# Exception Resumable Description Created on
1 CX_SYSLOG_READ_AUTHORIZATION Authorization to read syslog is missing 20120618

Method READ_LOCAL_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LOCALINSTANCE Call by reference Type reference (TYPE) MSNAME2 Application Server Name 20121029

Method READ_LOCAL_ENTRIES on class CL_SYSLOG has no exception.

Method RELOAD Signature

Method RELOAD on class CL_SYSLOG has no parameter.
# Exception Resumable Description Created on
1 CX_SYSLOG_READ_AUTHORIZATION Authorization to read syslog is missing 20120618

Method UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SYSLOG_ENTRIES Value transfer Type reference (TYPE) RSLGENTR_TAB 20120504
# Exception Resumable Description Created on
1 CX_SYSLOG_READ_AUTHORIZATION Authorization to read syslog is missing 20120618
History
Last changed by/on SAP  20130531 
SAP Release Created in 732