WindowsOpen an elevated command prompt
To enable RAS logging, run the command: netsh ras diagnostics set rastracing * enabled
To disable RAS logging, run the command: netsh ras diagnostics set rastracing * disabled
The trace logs are created and available at %WINDIR%\tracing folder
DotRasTo enable DotRas logging, you'll need to add a source named "DotRas" to your app.config file.
NOTE: This will require using DotRas 1.3 or later to use.
<system.diagnostics>
<trace autoflush="true"/>
<sources>
<source name="DotRas" switchValue="Verbose">
<listeners>
<clear/>
<add name="File" type="System.Diagnostics.TextWriterTraceListener" initializeData="DotRas.log"/>
</listeners>
</source>
</sources>
</system.diagnostics>
This will output a file in your execution folder named DotRas.log that will contain the trace information provided by DotRas from internal calls.