Diagnostic Trace Logging Not Working when Deployed to IIS 7
问题 I am working on migrating a site from IIS 6 to IIS 7 and I am not able to see all of my logs. My system.diagnostics configuration is as follows: <system.diagnostics> <trace autoflush="true"></trace> <sources> <source name="Assembly1" switchValue="All"> <listeners> <add name="DiagnosticMessageTraceListener" type="System.Diagnostics.TextWriterTraceListener" traceOutputOptions="ProcessId, ThreadId, DateTime" initializeData="E:\Inetpub\logs\App\Assembly1.log" /> </listeners> </source> <source