Verbose logging may have adverse effects on system performance

Article ID: 971133
Expand all | Collapse all
Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Action



Windows Installer Logging includes a verbose logging option that can be enabled on a user's computer. The information in a verbose log can helpful when trying to troubleshoot Windows Installer package deployment. You can enable verbose logging on the user's computer by using Command Line Options, the MsiLogging property, Logging policy, MsiEnableLog, and EnableLog method.

 

 

Result



When the verbose logging switches 'x', 'v' and or '!' are enabled it can significantly impact Windows Installer performance compared to a machine without these switches set. The performance impact can vary between machines depending on hardware and configuration.

 

Cause



When the full verbose logging is turned on with the '!' switch it flushes every line to the verbose log during the install.  If the Extra Debugging switch 'x' is set it has the potential to gather additional debug information depending on what custom actions are in the package.  and can also cause a performance hit to the installation.

 

Resolution



Full verbose logging with the '!' and 'x' are recommended for troubleshooting purposes. Turn off these switches if installation or uninstallation performance issues are a concern.

More Information



How to enable Verbose logging
http://support.microsoft.com/kb/906485

Verbose Logging switches
http://msdn.microsoft.com/en-us/library/aa370322(VS.85).aspx

DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

Properties

Article ID: 971133 - Last Review: May 8, 2009 - Revision: 1.1
Keywords: 
kbrapidpub kbnomt KB971133

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