For C++ persistent database applications the APIs for setting log file type and parameters are exactly as for C applications. Please see the C API Setting Log File Type and Parameters page for details.