Skip to content
Browse files

Updated .hgignore file, made BootStrapTester print log messages

  • Loading branch information...
1 parent 9403aab commit 953c0c4a2fe2fff4678ba07f62ccdfb9b9d211d6 @johnynek committed Dec 11, 2007
Showing with 38 additions and 53 deletions.
  1. +5 −1 .hgignore
  2. +33 −52 tests/protocol/BootStrapTester.exe.config
View
6 .hgignore
@@ -5,10 +5,14 @@ tests/protocol/.*\.dll
tests/protocol/.*\.exe
lib/Brunet.*dll
\..*\.swp
-BootGraph
+BootGraph*
+tests/protocol/*prof*
tests/protocol/missing_.*
tests/protocol/profile_*
+tests/protocol/out.*
.vimrc
#There are autogenerated
docs/spec/brunet\.html
docs/spec/brunet\.txt
+#ignore NUnit test results:
+TestResult.xml
View
85 tests/protocol/BootStrapTester.exe.config 100755 → 100644
@@ -1,52 +1,33 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<!--
- .NET application configuration file
-
- This file must have the exact same name as your application with
- .config appended to it. For example if your application is ConsoleApp.exe
- then the config file must be ConsoleApp.exe.config it mut also be in the
- same directory as the application.
--->
-<configuration>
- <!-- Register a section handler for the log4net section -->
- <configSections>
- <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
- </configSections>
- <!-- Enable internal debugging in log4net -->
- <appSettings>
- <!-- To enable internal log4net logging specify the following appSettings key -->
- <!-- <add key="log4net.Internal.Debug" value="true"/> -->
- </appSettings>
- <!-- This section contains the log4net configuration settings -->
- <log4net>
- <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
- <param name="Threshold" value="INFO" />
- <layout type="log4net.Layout.PatternLayout">
- <param name="ConversionPattern" value="%-5p [%t] %c %d{yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fff} - %m%n" />
- <!--
- <param name="ConversionPattern" value="%-5p [%t] %c (%F:%L)%x - %m%n" />
- -->
- </layout>
- </appender>
-
- <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
- <file value="boot.log" />
- <appendToFile value="true" />
- <maximumFileSize value="900KB" />
- <maxSizeRollBackups value="2" />
- <layout type="log4net.Layout.PatternLayout">
- <param name="ConversionPattern" value="%-5p [%t] %c %d{yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fff} - %m%n" />
- </layout>
- </appender>
-
-
- -->
- <!-- Setup the root category, add the appenders and set the default level -->
- <root>
- <level value="ALL" />
- <!-- <appender-ref ref="ConsoleAppender" />
- -->
- <appender-ref ref="RollingFile" />
- </root>
- </log4net>
-</configuration>
+<configuration>
+ <system.diagnostics>
+ <trace>
+ <listeners>
+<!-- This enable a text writer, extend this comment to disable it
+ <add name="textListener" type="System.Diagnostics.TextWriterTraceListener " initializeData="Brunet.log" /> -->
+ </listeners>
+ </trace>
+ <switches>
+<!-- This enables a console.error writer, its in here, because it didn not work above :( -->
+ <add name="ConsoleLogEnable" value="1"/>
+<!-- Brunet Logging switches -->
+ <add name="ConnectionTable" value="1"/>
+ <add name="ConnectionTableLocks" value="1"/>
+ <add name="ERROR" value="1"/>
+ <add name="Node" value="1"/>
+ <add name="Announce" value="0"/>
+ <add name="UdpEdge" value="0"/>
+ <add name="NatHandler" value="0"/>
+ <add name="SCO" value="1"/>
+ <add name="Stats" value="0"/>
+ <add name="LinkDebug" value="1"/>
+ <add name="TunnelEdge" value="0"/>
+ <add name="Unknown" value="1"/>
+ <add name="LPS" value="1"/>
+ <add name="Monitor" value="1"/>
+<!-- IPOP Logging switches -->
+ <add name="BaseLog" value="0"/>
+ <add name="PacketLog" value="0"/>
+ <add name="DHCPLog" value="0"/>
+ </switches>
+ </system.diagnostics>
+</configuration>

0 comments on commit 953c0c4

Please sign in to comment.
Something went wrong with that request. Please try again.