FileAppender.InterProcessLock.AcquireLock Method Apache log4netâ„¢ SDK Documentation
Acquire the lock on the file

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

public override Stream AcquireLock()

Return Value

Type: OnlineStream
A stream that is ready to be written to.
Remarks

Does nothing. The lock is already taken

See Also