Created
February 1, 2012 15:52
-
-
Save benjaminramey/1717668 to your computer and use it in GitHub Desktop.
Simple web.config xml to set up a trace file listener.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <system.diagnostics> | |
| <trace autoflush="false" | |
| indentsize="4"> | |
| <listeners> | |
| <add name="myListener" | |
| type="System.Diagnostics.TextWriterTraceListener" | |
| initializeData="C:\LOG_FILE_NAME.log" /> | |
| <remove name="Default" /> | |
| </listeners> | |
| </trace> | |
| </system.diagnostics> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment