Using Actuate logging and monitoring APIs : Customizing the error logging extension
 
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, usagelogext.c, installs in $ACTUATE_HOME/ServerIntTech/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.