Email Archive Logging
Locate Email Archive logs events at:
- %programdata%\Laserfiche\EmailArchiveService\Logs\EAService.log
- Additional logs are saved in the Logs folder as EAService_yyyyMMdd_xx.log. E.g., EAService_20250815_00.log
- Logs created prior to upgrading to Laserfiche 12 are stored in the Windows Event viewer here: Admin/operational/Debug channel
The Email Archive configuration file is located at: C:\Program Files\Laserfiche\Import Agent Suite\Email Archive\NLog.config
- For verbose-level logging to support detailed debugging, including SMTP client connections, SMTP recipient acceptance, SMTP session establishment, SMTP profile matching activities, IMAP profile monitoring logs, mail parsing results, partial email processing, and database operations, open the NLog.config file and change the minlevel attribute from Error to Trace:
<rules>
<logger name="*" minlevel="Trace" writeTo="file" />
</rules>
Note: The Email Archive service log-on account must have enough permissions to create the log file, if the service log-on user is a Windows Account instead of the Local System account. See Configuring Windows Rights for the Laserfiche Import Agent and Laserfiche Email Archive Services
Event List
| Task Category | Log Channel | Event ID | Keyword |
|---|---|---|---|
| ServiceStartUp | Operational | 1 | ServiceState |
| ServiceStartUpError | Admin | 2 | ServiceState |
| LicenseError | Admin | 3 | ServiceState |
| ServiceStop | Operational | 4 | ServiceState |
| SmtpListenStart | Debug | 5 | SMTP |
| SmtpClientConnect | Debug | 6 | SMTP |
| SmtpTslResult | Debug | 7 | SMTP |
| SmtpRecipientAccept | Debug | 8 | SMTP |
| SmtpRecipientReject | Debug | 9 | SMTP |
| SmtpMailReceived | Operational | 10 | SMTP |
| SmtpClientDisconnect | Debug | 11 | SMTP |
| SmtpError | Admin | 12 | SMTP |
| ParseResult | Debug | 13 | MailParse |
| PartialEmailReceived | Debug | 14 | MailParse |
| PartialEmailReassemblyResult | Debug | 15 | MailParse |
| ProfileMatchResult | Debug | 16 | Import |
| SessionLogin | Operational | 17 | Session |
| SessionLogOut | Operational | 18 | Session |
| ImportEmailResult | Operational | 19 | Import |
| ImportEmailError | Admin | 20 | Import |
| ImportAttachmentResult | Debug | 21 | Import |
| ImportAttachmentError | Admin | 22 | Import |
| ImportDistributionResult | Debug | 23 | Import |
| ImportDistributionError | Admin | 24 | Import |
| SmtpSessionConnect | Debug | 25 | SMTP |
| SmtpSessionDisconnect | Debug | 26 | SMTP |
| AddItemInCache | Debug | 27 | Cache |
| LoadItemFromCache | Debug | 28 | Cache |
| SessionError | Admin | 30 | Session |
| ProfileLoadError | Admin | 31 | Profile |
| ImapServerError | Admin | 32 | IMAP |
| ImapConnect | Debug | 33 | IMAP |
| PollingTriggered | Debug | 34 | IMAP |
| PostProcessSuccess | Debug | 35 | IMAP |
| PostProcessError | Debug | 36 | IMAP |