General Info:
Using Nlog.config user can configure respective output logs. Mainly used for changing the log level to trace (useful for example when debugging Exchange Web Services EWS). For more info see Configuring logging using Nlog.config.
For debugging it is also recommended to edit MpsDownloader.exe.config and uncomment section configSections and applicationSettings.
Configuration Path | Output Log Path | Data Pattern after Size Overflow | Max File Size | Max Number of Files (Delete Strategy) | Compression | Concurrent Writes | Logging Type |
---|---|---|---|---|---|---|---|
<DispatcherParagon_HOME>\MPS \Service\NLog.config | <DispatcherParagon_HOME>\MPS\Logs\mps.log | Date-style, Daily | ~21MB | 15 | no | false | Nlog |
<DispatcherParagon_HOME>\MPS \Service\OAuthClient.exe.config | <DispatcherParagon_HOME>\MPS\Logs\OAuthClient.log | Date-style, Daily | ~21MB | 15 | no | false | Nlog |
<DispatcherParagon_HOME>\MPS \Service\MpsDownloader.exe.config | <DispatcherParagon_HOME>\MPS\Logs\Aspose.Imap.log | _yyyy-MM-dd | ~unlimited | unlimited | no | false | Nlog |
Log Format
Log Name | Column 1 | Column 2 | Column 3 | Column 4 | Column 5 |
---|---|---|---|---|---|
mps.log | yyyy-MM-dd HH:mm:ss.ffff | Logging priority (Debug) (fixed width 5) | thread ID (width 2) | class name, method name and source information (f-w 70) | message/exception on new line |
OAuthClient.log | yyyy-MM-dd HH:mm:ss.ffff | Logging priority (Debug) (fixed width 5) | thread ID (width 2) | class name, method name and source information (f-w 70) | message/exception on new line |
Aspose.Imap.log | Aspose supplied message |
Example
OAuthClient.log | ||||
yyyy-MM-dd HH:mm:ss.ffff | Logging priority (Debug) (fixed width 5) | thread ID (width 2) | class name, method name and source information (f-w 70) | message/exception on new line |
2020-09-21 14:07:06.6846 | INFO | 7 | OAuthClient.OAuthController+<Authorize>d__5.MoveNext | Authorization was successful. The application was authorized to access the account's mailbox. |
mps.log | ||||
yyyy-MM-dd HH:mm:ss.ffff | Logging priority (Debug) (fixed width 5) | thread ID (width 2) | class name, method name and source information (f-w 70) | message/exception on new line |
2016-05-26 09:12:10.7801 | INFO | 5 | | Configuration.SafeQConfiguration.Initialize | | SafeQ configuration loaded successfully. |
2016-05-26 09:12:11.1550 | ERROR | 4 | | MobilePrint.MobilePrint.Initialize | | The service could not be started because Mobile Print Server is not licensed or enabled in SafeQ system settings. |
2016-05-26 09:12:11.1706 | INFO | 4 | | MobilePrint.MobilePrintService.Stop | | Stopping service... |
2020-09-21 15:04:34.1929 | TRACE | 1 | | MpsDownloader.EwsLogger.Trace | | EwsRequestHttpHeaders : <Trace Tag="EwsRequestHttpHeaders" Tid="1" Time="2020-09-21 13:04:34Z"> |
Aspose.Imap_2020-9-21.log | ||||
Imap client[1|9/21/2020 2:08:03 PM]: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Connect to: outlook.office365.com:993 SecurityOptions.SSLImplicit <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |