Revert color console changes until a cross-platform method is found.
parent
d76d604ce9
commit
355d0fdb95
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue