Created
July 5, 2018 19:23
-
-
Save nzpcmad/6f2592fb6275c2f3ff4fd628c7db8b43 to your computer and use it in GitHub Desktop.
Add System.Net trace
This file contains 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
<configuration> | |
<system.diagnostics> | |
<trace autoflush="true" /> | |
<sources> | |
<source name="System.Net"> | |
<listeners> | |
<add name="System.Net"/> | |
</listeners> | |
</source> | |
<source name="System.Net.HttpListener"> | |
<listeners> | |
<add name="System.Net"/> | |
</listeners> | |
</source> | |
<source name="System.Net.Sockets"> | |
<listeners> | |
<add name="System.Net"/> | |
</listeners> | |
</source> | |
<source name="System.Net.Cache"> | |
<listeners> | |
<add name="System.Net"/> | |
</listeners> | |
</source> | |
</sources> | |
<sharedListeners> | |
<add | |
name="System.Net" | |
type="System.Diagnostics.TextWriterTraceListener" | |
initializeData="System.Net.trace.log" | |
traceOutputOptions = "ProcessId, DateTime" | |
/> | |
</sharedListeners> | |
<switches> | |
<add name="System.Net" value="Verbose" /> | |
<add name="System.Net.Sockets" value="Verbose" /> | |
<add name="System.Net.Cache" value="Verbose" /> | |
<add name="System.Net.HttpListener" value="Verbose" /> | |
</switches> | |
</system.diagnostics> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://nzpcmad.blogspot.com/2018/07/certificates-remote-certificate-is.html