Hi,
I'm working on an asp.net web application (.net 2.0) and something 'spooky' is happening when I deploy it onto prod. When I'm debugging on local, I have some switches added so I can see the actual SQL command being sent to the SQL Server in the Output window. Below are the switches I've added:
<system.diagnostics>
<switches>
<add name="SqlServerDQE" value="4"/>
<add name="ORMGeneral" value="4"/>
<add name="ORMStateManagement" value="4"/>
<add name="ORMPersistenceExecution" value="4"/>
</switches>
</system.diagnostics>
Now how do I modify the app or the web.config file so that all these statements are written to a text file after I deploy the app to prod or I'm wanting to see my application log all these statements even in prod.
The following did NOT help:
<system.web>
<trace enabled="true" />
</system.web>
Please let me know.
Arun