You are here:   Research
  |  Login

Welcome to my blog, quickest way to find articles is usually to search for them.

Search in All Title Contents

Fix monitoring in MDT 2012 Update 1 (and MDT 2013 preview)

Jun 26 2013

When enabling the (great) monitoring feature in MDT you create a service that runs in the background. However, if you have a C:\Temp folder on your server (only then), that service will start to log a lot of information to C:\Temp\WCF.log. 5 GB per day has been reported.

My recommendation is (thanks to Anders Ahl for research) to change the logging to:

  1. Only log warnings, and not information events
  2. Store the log file on another drive than C:

To do this you simply edit the C:\Program Files\Microsoft Deployment Toolkit\Monitor\microsoft.bdd.monitorservice.exe.config file using notepad:

Change line 12 from

<source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true">


<source name="System.ServiceModel" switchValue="Warning, ActivityTracing" propagateActivity="true">


Change line 14 from

<add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="c:\temp\WCF.log" />


<add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="D:\MDTMonitoring\WCF.log" />


To activate the logging you also need to create the D:\MDTMonitoring folder

/ Johan

Happy deployment, and thanks for reading!

What our lawyers makes us say:

This information is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or Deployment Artist.

Copyright © 2017 by Deployment Artist (the company behind deployment research). All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

Shorthand: Don't pass off our work as yours, it's not nice.

Blog Archive