def METHOD_NAME(self):
    db_path = '/tmp/rocksdb-155919/dbbench'
    # when db_log_dir is present in the db_options
    update_dict = {
        'DBOptions.db_log_dir': {NO_COL_FAMILY: '/dev/shm'},
        'DBOptions.stats_dump_period_sec': {NO_COL_FAMILY: '20'}
    }
    self.db_options.update_options(update_dict)
    log_file_prefix, stats_freq = self.bench_runner.get_log_options(
        self.db_options, db_path
    )
    self.assertEqual(
        log_file_prefix, '/dev/shm/tmp_rocksdb-155919_dbbench_LOG'
    )
    self.assertEqual(stats_freq, 20)
    update_dict = {
        'DBOptions.db_log_dir': {NO_COL_FAMILY: None},
        'DBOptions.stats_dump_period_sec': {NO_COL_FAMILY: '30'}
    }
    self.db_options.update_options(update_dict)
    log_file_prefix, stats_freq = self.bench_runner.get_log_options(
        self.db_options, db_path
    )
    self.assertEqual(log_file_prefix, '/tmp/rocksdb-155919/dbbench/LOG')
    self.assertEqual(stats_freq, 30)