EwsLog Property
Gets the object used for logging MailBee activities into a file or memory buffer.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public Logger Log { get; }

Property Value

Type: Logger
A reference to the object used for logging MailBee activities into a file or memory buffer.

Ews class has its own logging which you can configure using this property. It works all the same for all MailBee network components, see Imap.Log for examples.

However, as Ews class is just a wrapper for EWS Managed API library, most of activities take place in its code. To get more comprehensive logging (such as for debugging), you can also enable tracing of all network requests. This will let you see what's EWS Managed API layer is doing under the hood.

This is what you need to add into app.config or web.config to enable tracing of network requests into "network.log" file in the application folder. You can specify absolute path as well (just make sure your application is allowed to write into the specified location).
    <source name="System.Net" tracemode="protocolonly" maxdatasize="4096">
        <add name="System.Net"/>
    <add name="System.Net" value="Verbose"/>
    <add name="System.Net.Cache" value="Verbose"/>
    <add name="System.Net.Http" value="Verbose"/>
    <add name="System.Net.Sockets" value="Verbose"/>
    <add name="System.Net.WebSockets" value="Verbose"/>
    <add name="System.Net"
  <trace autoflush="true"/>
See Also