XCON: Setting up Advanced Logging on the Exchange 5.0 and 5.5 MTAs

Article translations Article translations
Article ID: 168906 - View products that this article applies to.
This article was previously published under Q168906
Expand all | Collapse all

SUMMARY

There are times when it may become necessary to enable advanced logging on the Microsoft Exchange Message Transfer Agent (MTA) in order to diagnose a problem. This is in addition to the logging provided in the Windows NT application log.

The logs must be removed from the MTADATA directory prior to restarting the MTA or they will be reset to zero and no information will be saved.

To enable the advanced logging, start the Windows NT Registry Editor and go to the following key:
   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeMTA
                     \Parameters
				
Find Text Event Log and set it to 1 (the default is 0).

Add the following DWORD values, entering the names EXACTLY as shown:
   Unbounded Event Log
   Unbounded APDU Log
   Unbounded Interop Log
				
These write to the Ev0.log, Bf0.log, and Ap0.log files, respectively.

To enable the logging operation, start the Microsoft Exchange Administrator program, open the MTA Properties page, click the Diagnostics Logging tab, and set the desired logging level on the categories in question.

During normal operation, the value for the above 3 entries should be 0. However, when a problem arises, setting any one or all of these to 1, along with setting the Text Event Log to 1, will start writing the logs to the Exchsrvr\mtadata directory.

MORE INFORMATION

Unbounded Event Log:
This enables uninterupted logging to the Ev0.log file. This is basically a text version of the Windows NT application log and will log every event that is in the application log.
Unbounded APDU Log:
This enables uninterupted logging to the Bf0.log file. This log is enabled by setting X.400 Service and APDU logging to maximum in the MTA Properties page, Diagnostics Logging tab. The APDU log is a binary trace of all the ASN.1 activity within the MTA. This data can be viewed with the ASN.1 viewer (Aspirin) located on the BackOffice Resource Kit 2 compact disk.
Unbounded Interop Log:
This enables uninterupted logging to the Ap0.log file. This log is enabled by setting Interoperability logging to maximum in the MTA Properties page, Diagnostics Logging tab. The Interoperability log is a text 'sniff' of the incoming and outgoing transport activity for the subject MTA.

Properties

Article ID: 168906 - Last Review: October 28, 2006 - Revision: 3.3
APPLIES TO
  • Microsoft Exchange Server 5.5 Standard Edition
  • Microsoft Exchange Server 4.0 Standard Edition
  • Microsoft Exchange Server 5.0 Standard Edition
Keywords: 
KB168906
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com