aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/OpenSimAppender.cs
diff options
context:
space:
mode:
authorMelanie2010-05-19 04:17:56 +0100
committerMelanie2010-05-19 04:17:56 +0100
commite4b8d76b108725fa83dd1e1f3eb909b39482e769 (patch)
tree96f91570de23e1ebab189934bb1989fa466f5e22 /OpenSim/Framework/Console/OpenSimAppender.cs
parentClean up output a bit (diff)
downloadopensim-SC-e4b8d76b108725fa83dd1e1f3eb909b39482e769.zip
opensim-SC-e4b8d76b108725fa83dd1e1f3eb909b39482e769.tar.gz
opensim-SC-e4b8d76b108725fa83dd1e1f3eb909b39482e769.tar.bz2
opensim-SC-e4b8d76b108725fa83dd1e1f3eb909b39482e769.tar.xz
Change appender to deal with line feeds more intelligently.
Change migration error reporting to not truncate the statement when reporting. It's a bit messier than the old error reporting, but at least one gets an idea of what could be wrong again. And things look a lot neater now.
Diffstat (limited to 'OpenSim/Framework/Console/OpenSimAppender.cs')
-rw-r--r--OpenSim/Framework/Console/OpenSimAppender.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/OpenSimAppender.cs b/OpenSim/Framework/Console/OpenSimAppender.cs
index 282ad38..72a251e 100644
--- a/OpenSim/Framework/Console/OpenSimAppender.cs
+++ b/OpenSim/Framework/Console/OpenSimAppender.cs
@@ -66,7 +66,10 @@ namespace OpenSim.Framework.Console
66 } 66 }
67 else 67 else
68 { 68 {
69 System.Console.WriteLine(loggingMessage); 69 if (!loggingMessage.EndsWith("\n"))
70 System.Console.WriteLine(loggingMessage);
71 else
72 System.Console.Write(loggingMessage);
70 } 73 }
71 } 74 }
72 catch (Exception e) 75 catch (Exception e)