The absolute file mode for created log files. This property is only useful for the rare Berkeley DB application that does not control its umask value.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version:


public int LogFileMode { get; set; }
Visual Basic (Declaration)
Public Property LogFileMode As Integer
Visual C++
property int LogFileMode {
	int get ();
	void set (int value);


Normally, if Berkeley DB applications set their umask appropriately, all processes in the application suite will have read permission on the log files created by any process in the application suite. However, if the Berkeley DB application is a library, a process using the library might set its umask to a value preventing other processes in the application suite from reading the log files it creates. In this rare case, this property can be used to set the mode of created log files to an absolute value.

See Also