Revert color console changes until a cross-platform method is found.

ThreadPoolClientBranch
Jeff Ames 2008-02-06 07:36:14 +00:00
parent d76d604ce9
commit 355d0fdb95
11 changed files with 10 additions and 191 deletions

View File

@ -192,7 +192,6 @@ namespace OpenSim.Framework.Console
} }
catch (FormatException) catch (FormatException)
{ {
// Some older systems dont support coloured text.
System.Console.WriteLine(args); System.Console.WriteLine(args);
} }
} }

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>

View File

@ -6,25 +6,7 @@
<appSettings> <appSettings>
</appSettings> </appSettings>
<log4net> <log4net>
<appender name="Console" type="log4net.Appender.AnsiColorTerminalAppender"> <appender name="Console" type="log4net.Appender.ConsoleAppender">
<mapping>
<level value="ERROR" />
<foreColor value="Red" />
<attributes value="Bright"/>
</mapping>
<mapping>
<level value="DEBUG"/>
<foreColor value="Green"/>
</mapping>
<mapping>
<level value="INFO"/>
<foreColor value="Blue"/>
</mapping>
<mapping>
<level value="Warn"/>
<foreColor value="Yellow"/>
<attributes value="Bright"/>
</mapping>
<layout type="log4net.Layout.PatternLayout"> <layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %-5level %logger - %message%newline" /> <conversionPattern value="%date %-5level %logger - %message%newline" />
</layout> </layout>