Debugging the Email Engine on Windows
To generate debug log using the Windows Email Engine service
- From the Services window, stop the Email Engine service.
- Open the Windows registry, and navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet> Services \HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\BMC Remedy Email Engine – MACHINE_NAME 1\Parameters.
- Create a new String Value, name it JVM Option Number 4, and set its value to -Dmail.debug=true.
- Change the value of JVM Option Count to 5.
- Start the Email Engine service.
The debug log is available in the emailEngineInstallDir\AREmail\Logs\email.log file.
When you set the value of the com.bmc.arsys.emaildaemon.ReceiverModule.level parameter to SEVERE, the debug entries are displayed at the top of the email.log file and the module entries are displayed at the bottom of the email.log file.
See the following screenshots:
Debug entries displayed at the top of the email.log file:
Module entries displayed at the bottom of the email.log file:
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*