FileAppender.MinimalLock ClassApache log4netâ„¢ SDK Documentation
Acquires the file lock for each write
Inheritance Hierarchy

OnlineSystem.Object
  log4net.Appender.FileAppender.LockingModelBase
    log4net.Appender.FileAppender.MinimalLock

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public class MinimalLock : FileAppender..::..LockingModelBase
Remarks

Opens the file once for each AcquireLock()/ReleaseLock() cycle, thus holding the lock for the minimal amount of time. This method of locking is considerably slower than FileAppender.ExclusiveLock but allows other processes to move/delete the log file whilst logging continues.

See Also