Library Version 12.1.6.2

Log configuration
Prev | Chapter 3. Upgrading Berkeley DB 4.6 applications to Berkeley DB 4.7 | Next

## Log configuration

In the Berkeley DB 4.7 release, the logging subsystem is configured using the DB_ENV->log_set_config() method instead of the previously used DB_ENV->set_flags() method.

The DB_ENV->set_flags() method no longer accepts the flags DB_DIRECT_LOG, DB_DSYNC_LOG, DB_LOG_INMEMORY or DB_LOG_AUTOREMOVE. Applications should be modified to use the equivalent flags accepted by the DB_ENV->log_set_config() method.

Previous DB_ENV->set_flags() flag | Replacement DB_ENV->log_set_config() flag
--- | ---
DB_DIRECT_LOG | DB_LOG_DIRECT
DB_DSYNC_LOG | DB_LOG_DSYNC
DB_LOG_INMEMORY | DB_LOG_IN_MEMORY
DB_LOG_AUTOREMOVE | DB_LOG_AUTO_REMOVE

Prev | Up | Next
DB_ENV->set_intermediate_dir | Home | Upgrade Requirements