Menu
Simba Technologies
Simba Technologies

SimbaEngine X SDK 10.1.3
Developing Drivers for Data Stores Without SQL

SimbaEngine X SDK Documentation > Testing and Troubleshooting > FAQ > Enable Logging in the Data Engine

Enable Logging in the Data Engine

The SimbaEngine X SDK provides logging capability that is specific to AETree and ETree functionality. This logging is controlled separately from the other log functionality in the SimbaEngine X SDK, and isn't affected by settings such as LogFileSize parameter.

You can enable AETree and ETree logging using the DSIEXT_DATAENGINE_LOG_AETREES and the DSIEXT_DATAENGINE_LOG_ETREE data engine properties.

Example:

To enable AETree logging, add this line to your driver, for example in your DSIExtSqlDataEngine subclass.

SetProperty( DSIEXT_DATAENGINE_LOG_AETREES, AttributeData::MakeNewUInt32AttributeData(0xF));

This setting will create a log file, AETree.log, in the path specified by the LogPath parameter.

 

Related Links

Algebraic Expression Tree and Optimization

Using SQL Engine Properties