LoggerKeepLogFileOpen Property
Gets or sets whether the log file must be kept open during MailBee session.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public bool KeepLogFileOpen { get; set; }

Property Value

Type: Boolean
true if the component (such as Smtp, Pop3 or Imap) will keep the file open during the lifetime of the instance of the component); false if the component re-opens the log file and then closes it on each writing into the log. The default value is false.
Remarks
Keeping the log file open increases performance, although it's less reliable (operating system may cache log data so they might not be placed into the log if some kind of critical hardware or operating system error occurs). Also, the log contents won't be available for other applications while the log is still open.
Note Note
The developer can close the opened log (to make sure all the data is actually saved) just by setting KeepLogFileOpen to false. Then, KeepLogFileOpen can be set back to true if desired.
See Also