Changing where MSMQ logging goes on Windows 2000

MSMQ comes with some useful logging built in which support services can make use of to help you crack problems. The logging in Windows 2000, though, has one interesting characteristic - it logs continuously to a text file. This means that, left unattended or during especially busy periods, it may get very big. Some customer's server builds may only allocate a few GBytes to the system partition so the default location of %windir%\Debug is not somewhere you want to have an ever-expanding file.

To get round this, a change was made to the logging code so that you can specify a different logging directory.

So the first step is to deploy the "Update Rollup 1 for Microsoft Windows 2000 Service Pack 4" (although it has been out for 2 years so there's a good chance you already have it in place):

900345 Fixes that are included in the Update Rollup 1 for Microsoft Windows 2000 Service Pack 4 that is dated June 28, 2005

Next step is to add the following registry value and set it accordingly to a new location:


Further information on MSMQ logging can be found in the MSMQ FAQ (see the link in the "MSMQ Documentation" list on the left).


Comments (0)

Skip to main content