<xml></xml>

Collapse AllExpand 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 Send Feedback

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

Namespace: BerkeleyDB
Assembly: libdb_dotnet62 (in libdb_dotnet62.dll) Version: 6.2.32.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