Hello, We are trying to configure WCF Message and Trace logging to be written to a one of the shell folder paths. For example .. %ALLUSERSPROFILE%\CompanyName\logs\ServiceTrace.svclog If I enter the full path to this location it works, if I enter the above nothing appears. (I've pre-created the directories)
Example config snippet is:
<source name="System.ServiceModel" switchValue="Verbose" propagateActivity="true">
<listeners>
<add type="System.Diagnostics.DefaultTraceListener" name="Default">
<filter type="" />
</add>
<add initializeData="%ALLUSERSPROFILE%\Company Name\logs\ServiceTrace.svclog"
type="System.Diagnostics.XmlWriterTraceListener" name="ServiceTrace"
traceOutputOptions="None">
<filter type="" />
</add>
</listeners>
</source>
Any ideas most welcome..