<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

Berkeley DB .NET API Documentation
LogConfig..::.Dir Field
LogConfig Class See Also

The path of a directory to be used as the location of logging files. Log files created by the Log Manager subsystem will be created in this directory.

Namespace: BerkeleyDB
Assembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

# Syntax

C#

    public string Dir

Visual Basic (Declaration)

    Public Dir As String

Visual C++

    public:
    String^ Dir

# Remarks

If no logging directory is specified, log files are created in the environment home directory. See Berkeley DB File Naming in the Programmer's Reference Guide for more information.

For the greatest degree of recoverability from system or application failure, database files and log files should be located on separate physical devices.

If the database environment already exists when Open(String, DatabaseEnvironmentConfig) is called, the value of Dir must be consistent with the existing environment or corruption can occur.

# See Also

LogConfig Class
BerkeleyDB Namespace