How can I enable or disable debug logging in GFI MailEssentials?

The information in this article applies to:

  • GFI MailEssentials for Exchange/SMTP 10
  • GFI MailEssentials for Exchange/SMTP 11
  • GFI MailEssentials for Exchange/SMTP 12
  • GFI MailEssentials for Exchange/SMTP 14
  • GFI MailEssentials for Exchange/SMTP 9

Article ID: KBID001835

Query keywords: log

When debug logging is enabled, GFI MailEssentials will log information on each email which can be used for troubleshooting purposes. The debug logs will be located in the <GFI\MailEssentials\debuglogs> directory. When GFI MailEssentials is working correctly, debug logging can safely be disabled.

Enabling and disabling debug logging in GFI MailEssentials can be done from the registry as follows:

  1. Stop the GFI MailEssentials services and the Internet Information Services (IIS) Admin service taking note of the dependencies stopped.  
     
  2. Open regedit (Start -> Run -> Type ‘Regedit’ and press Enter)  
     
  3. Navigate to the following key according to the product you are using :
    • GFI MailEssentials version 14(x86): - [HKEY_LOCAL_MACHINE\SOFTWARE\GFI\ME14\Config]
    • GFI MailEssentials version 14(x64): - [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\GFI\ME14\Config]
    • GFI MailEssentials version 12(x86): - [HKEY_LOCAL_MACHINE\SOFTWARE\GFI\ME12\Config]
    • GFI MailEssentials version 12(x64): -[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\GFI\ME12\Config]
    • GFI MailEssentials version 11: - [HKEY_LOCAL_MACHINE\SOFTWARE\GFI\ME11\Config] 
    • GFI MailEssentials version 10: - [HKEY_LOCAL_MACHINE\SOFTWARE\GFI\ME10\Config] 
    • GFI MailEssentials version 9: - [HKEY_LOCAL_MACHINE\SOFTWARE\GFI Fax & Voice\ME9\Config] 
       
  4. A dword value named ‘debug’ should be found in this location. If the value does not exist a new DWORD value called ‘debug’ should be created manually.
     
  5. Change the ‘debug’ dword value as follows:
    • To disable debug logging, change the ‘debug’ dword value to ‘0’
    • To enable debug logging, change the ‘debug’ dword value to ‘1’ 
       
  6. Close Regedit. 
     
  7. Restart the services stopped in (1), including services dependant on the Internet Information Services (IIS) Admin service.

Please refer also to http://kbase.gfi.com/showarticle.asp?id=KBID001062 for the files required by GFI Support to troubleshoot an issue.