Customizing the error logging extension
To customize the error logging extension, you must install BIRT iHub Integration Technology. BIRT iHub Integration Technology provides the C and C++ source code that you modify to customize the error logging extension. The error logging extension source code file, errorlogext.c, installs in <BIRT iHub Integration Technology install folder>/ServerIntTech3
/Error Logging Extension.
The errorlogext.c source code implements the following functionality:
Specifies the name and extension of the log file, and the location or path to the log file
These properties are defined as constants. For example:
#define ERRORLOG_FILENAME "error_log"
#define ERRORLOG_FILE_EXT ".csv"
The AcStartErrorLog function implements this functionality.
Writes the information about every error that BIRT iHub encounters to a log file
The AcLogError function implements this functionality.
Stops logging information and releases the resources the extension uses
The AcStopErrorLog function implements this functionality.
Specifies whether or not the extension is multithread-safe
The AcIsThreadSafe function implements this functionality. If the extension is not multithread-safe, AcIsThreadSafe must return False. The reference implementation is not multithread-safe.