locked
SyncTracer Wcf RRS feed

  • Question

  • I'm syncing a Sql Server Ce Datebase over WCF with a Sql Server Express Edition. SyncTracer does not Trace into a file. I modified the web.config file. When I write Trace.WriteLine, everything ist written to the SyncTracer File. But the Framework writes nothing. Any idea?

    <system.codedom>
    <
    compilers>
    <
    compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/d:TRACEtype="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="1" />
    </
    compilers>
    </
    system.codedom>

    <system.diagnostics>
    <
    switches>
    <
    add name="SyncTracer" value="4" />
    </
    switches>
    <
    trace autoflush="true">
    <
    listeners>
    <
    add name="TestListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="D:\Data\Mia.Systems\SynchronizationServer.log"/>
    </
    listeners>
    </
    trace>
    </
    system.diagnostics>

    Friday, February 20, 2009 1:22 PM