Gets or sets the LockingModel used to handle locking of the file.
The LockingModel used to lock the file.
Gets or sets the LockingModel used to handle locking of the file.
There are three built in locking models, FileAppender.ExclusiveLock, FileAppender.MinimalLock and FileAppender.InterProcessLock . The first locks the file from the start of logging to the end, the second locks only for the minimal amount of time when logging each message and the last synchronizes processes using a named system wide Mutex.
The default locking model is the FileAppender.ExclusiveLock.
FileAppender Class | log4net.Appender Namespace