When a new site is created in Server Manager, the trace logging file paths for the server, cache service, remote service, file service, and configuration service are automatically created. The default folder location for all of the trace log files is:
-
<Rootpath folder>\Tracelogs\Sitename
Within the web.config file, a configuration section defines the name of the tracesettings.config files that control the logging for each of the server, cache, remote services, file service, and configuration services, as the following example shows:
<configSections>
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" restartOnExternalChanges="false"/>
</configSections>
<loggingConfiguration configSource="tracesettings.config"/>
Desktop Client
Tracing can also be configured on Desktop Client workstations. The Desktop_Client.exe.config file contains the file location settings, and the tracesettings.config file is located within the application folder.
Any changes to the tracing options within any tracesettings.config file will be picked up within a few seconds.