Table of Contents

Search

  1. Preface
  2. Understanding Pipeline Partitioning
  3. Partition Points
  4. Partition Types
  5. Pushdown Optimization
  6. Pushdown Optimization and Transformations
  7. Real-time Processing
  8. Commit Points
  9. Row Error Logging
  10. Workflow Recovery
  11. Stopping and Aborting
  12. Concurrent Workflows
  13. Grid Processing
  14. Load Balancer
  15. Workflow Variables
  16. Parameters and Variables in Sessions
  17. Parameter Files
  18. FastExport
  19. External Loading
  20. FTP
  21. Session Caches
  22. Incremental Aggregation
  23. Session Log Interface
  24. Understanding Buffer Memory
  25. High Precision Data
  26. POWERCENTERHELP

Advanced Workflow Guide

Advanced Workflow Guide

INFA_OutputSessionLogMsg

INFA_OutputSessionLogMsg

void INFA_OutputSessionLogMsg(       void * dllContext,       time_t curTime,       INFA_UINT32 severity,       const INFA_UNICHAR * msgCategoryName,       INFA_UINT32 msgCode,       const INFA_UNICHAR * msg,       const INFA_UNICHAR * threadDescription);
The Integration Service calls this function each time it logs an event. The parameters passed to the function include the different elements of the log event message. You can use the parameters to customize the format for the log output or to filter out messages.
INFA_OutputSessionLogMsg has the following parameters:
Parameter
Data Type
Description
dllContext
Unspecified
User-defined information specific to the shared library. You can use this parameter to store information related to network connection or to allocate memory needed during the course of handling the session log output. The shared library must allocate and deallocate any memory associated with this parameter.
curTime
time_t
Time that the Integration Service logs the event.
severity
unsigned int
Code that indicates the type of the log event message. The event logs use the following severity codes:
32: Debug Messages
  8: Informational Messages
  2: Error Messages
msgCategoryName
constant
unsigned short
Code prefix that indicates the category of the log event message.
In the following example message, the string
BLKR
is the value passed in the msgCategoryName parameter.
READER_1_1_1> BLKR_16003 Initialization completed successfully.
msgCode
unsigned int
Number that identifies the log event message.
In the following example message, the string
16003
is the value passed in the msgCode parameter.
READER_1_1_1> BLKR_16003 Initialization completed successfully.
msg
constant
unsigned short
Text of the log event message.
In the following example message, the string
Initialization completed successfully
is the value passed in the msg parameter.
READER_1_1_1> BLKR_16003 Initialization completed successfully.
threadDescription
constant
unsigned short
Code that indicates which thread is generating the event log.
In the following example message, the string
READER_1_1_1
is the value passed in the threadDescription parameter.
READER_1_1_1> BLKR_16003 Initialization completed successfully.


Updated July 04, 2018