| 1 | <?xml version="1.0"?>\r |
| 2 | <configuration>\r |
| 3 | <system.diagnostics>\r |
| 4 | <sources>\r |
| 5 | <!-- This section defines the logging configuration for My.Application.Log -->\r |
| 6 | <source name="DefaultSource" switchName="DefaultSwitch">\r |
| 7 | <listeners>\r |
| 8 | <add name="FileLog"/>\r |
| 9 | <!-- Uncomment the below section to write to the Application Event Log -->\r |
| 10 | <!--<add name="EventLog"/>-->\r |
| 11 | </listeners>\r |
| 12 | </source>\r |
| 13 | </sources>\r |
| 14 | <switches>\r |
| 15 | <add name="DefaultSwitch" value="Information"/>\r |
| 16 | </switches>\r |
| 17 | <sharedListeners>\r |
| 18 | <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter"/>\r |
| 19 | <!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->\r |
| 20 | <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->\r |
| 21 | </sharedListeners>\r |
| 22 | </system.diagnostics>\r |
| 23 | <startup><supportedRuntime version="v2.0.50727"/></startup></configuration>\r |