Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated .hgignore file, made BootStrapTester print log messages
- Loading branch information
Showing
2 changed files
with
38 additions
and
53 deletions.
There are no files selected for viewing
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
85 changes: 33 additions & 52 deletions
85
tests/protocol/BootStrapTester.exe.config
100755 → 100644
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |