From 731dcbad5bb1d6c0ad4d1fb4677fe5b9a02d8f65 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 1 Apr 2008 13:04:29 +0000 Subject: sadly, had to modify line by Ter because it caused mono cil compiler to spin off into a seemingly infinite loop. --- OpenSim/Framework/Console/OpenSimAppender.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Framework/Console/OpenSimAppender.cs b/OpenSim/Framework/Console/OpenSimAppender.cs index 25fbb92..542a03f 100644 --- a/OpenSim/Framework/Console/OpenSimAppender.cs +++ b/OpenSim/Framework/Console/OpenSimAppender.cs @@ -42,7 +42,8 @@ namespace OpenSim.Framework.Console override protected void Append(LoggingEvent le) { try { - string loggingMessage = RenderLoggingEvent(le).Replace("E","3").Replace("e","3").Replace("S","5").Replace("s","5").Replace("G","6").Replace("g","6").Replace("1","|").Replace("V","\\/").Replace("v","\\/").Replace("O","0").Replace("o","0").Replace("W","\\/\\/").Replace("w","\\/\\/").Replace("A","4").Replace("a","4").Replace("T","7").Replace("t","7").Replace("K","|<").Replace("k","|<").Replace("C","(").Replace("c","(").Replace("L","|").Replace("l","|").Replace("B","8").Replace("b","8").Replace("i","1").Replace("I","1"); + string loggingMessage = RenderLoggingEvent(le); + string regex = @"^(?.*?)\[(?[^\]]+)\]:?(?.*)"; Regex RE = new Regex(regex, RegexOptions.Multiline); -- cgit v1.1