Library Version 18.1.40

log_set_config
Prev | Appendix B. DB_CONFIG Parameter Reference | Next

## log_set_config

Configures the Berkeley DB logging subsystem.

The syntax of this parameter in the DB_CONFIG file is a single line with the string `log_set_config`, one or more whitespace characters, method flag parameter as a string, optionally one or more whitespace characters, and the string `on` or `off`. If the optional string is omitted, the default is `on.`

The method flag parameters are:

- DB_LOG_DIRECT

  Turns off system buffering of Berkeley DB log files to avoid double caching.

- DB_LOG_DSYNC

  Configures Berkeley DB to flush log writes to the backing disk before returning from the write system call, rather than flushing log writes explicitly in a separate system call, as necessary.

For more information, see DbEnv::log_set_config() .

Prev | Up | Next
slice | Home | set_mp_max_openfd