added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Basic / Management / ExtendingTracing / CS / client / App.config
blobd0c4c54358cca413e2b1a9bd351060e3cfc44074
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
3 <system.serviceModel>
4 <client>
5 <endpoint name=""
6 address="http://localhost/servicemodelsamples/service.svc"
7 binding="wsHttpBinding"
8 contract="Microsoft.ServiceModel.Samples.ICalculator" />
9 </client>
10 </system.serviceModel>
12 <system.diagnostics>
13 <sources>
14 <source name="System.ServiceModel" switchValue="Warning"
15 propagateActivity="true">
16 <listeners>
17 <add type="System.Diagnostics.DefaultTraceListener" name="Default" />
18 <add name="xml" />
19 </listeners>
20 </source>
21 <source name="ClientCalculatorTraceSource" switchValue="Information,ActivityTracing">
22 <listeners>
23 <add type="System.Diagnostics.DefaultTraceListener" name="Default" />
24 <add name="xml" />
25 </listeners>
26 </source>
27 </sources>
28 <sharedListeners>
29 <add initializeData="C:\logs\ExtendingTracing-client.svclog" type="System.Diagnostics.XmlWriterTraceListener"
30 name="xml" traceOutputOptions="Callstack" />
31 </sharedListeners>
32 <trace autoflush="true" />
33 </system.diagnostics>
34 </configuration>