How to: Change the Trace Output Directory for Team Foundation Server Components
You can change the output directory for Team Foundation Server component trace files by editing the Web.Config file for that component.
To perform this procedure, you must be a member of the Administrators group on the Team Foundation application-tier server. For more information, see.
Do not use the ASP.NET tab of the Internet Information Services (IIS) Manager (inetmgr) to edit a Web.Config file. If you use this tab, an attribute is added to the <configuration> element of the Web.Config file. This attribute interferes with normal functioning.
To change the trace output directory for a Team Foundation Server component
On the application-tier server for Team Foundation, locate the installation directory for the application tier.
Open the Web Services folder.
Open the Web.Config file in a text or XML editor.
In the Web.Config file, locate the <add key="traceDirectoryName"> element.
Update the <add key="traceDirectoryName"> element by replacing the default location with the directory path where the trace log files are to be stored. For example, type the following string:
<add key="traceDirectoryName" value="C:\TraceFilesFolder" />
Save and close the Web.config file.
You must close and restart the Web services application for Team Foundation before your changes will take effect.