Enable Exchange request logging

To enable tracing of PowerShell commands sent to Exchange servers:

  1. Navigate to the folder where Adaxes service is installed. By default, the folder is C:\Program Files\Softerra\Adaxes 3\Service.

  2. Open the Softerra.Adaxes.Service.exe.config file with a text editor.

  3. Locate the configuration\softerra.adaxes\exchangeSettings\powerShell\trace XML element.

  4. Set the enabled parameter to true and specify the path to the file that will store log records in the outputFilePath parameter. For example:

            <exchangeSettings ...>
                <powerShell ...>
                    <trace enabled="true" outputFilePath="C:\logs\exchange.powershell.trace.txt" />

    If you specify only the file name in the outputFilePath parameter, the log file will be created in the folder where the Softerra.Adaxes.Service.exe.config file is located.

  5. Save the file.

  6. Restart the Adaxes service.

Since request logging is quite intensive, the file can grow very quickly. Permanent logging of Exchange requests consumes resources and affects performance. Therefore, it is recommended to enable the logging only when it is needed.