The Integration Service and the Session Log Interface
The Integration Service and the Session Log Interface
When you set the ExportSessionLogLibName property of the Integration Service to the name of a shared library, the Integration Service performs the procedures defined in the shared library in addition to creating the event log files.
The Integration Service uses the shared library in the following manner:
The Integration Service loads the shared library and calls the INFA_InitSessionLog() function before it logs the first event in the session.
Each time the Integration Service logs an event to the session log file, it calls the INFA_OutputSessionLog() function to pass the message, codes, and session information to the shared library.
When the session completes and the last event is logged, the Integration Service calls the INFA_EndSessionLog() and then unloads the shared library.
To ensure that the shared library can be correctly called by the Integration Service, follow the guidelines for writing the shared library.