diff options
author | Melanie | 2010-05-19 04:17:56 +0100 |
---|---|---|
committer | Melanie | 2010-05-19 04:17:56 +0100 |
commit | e4b8d76b108725fa83dd1e1f3eb909b39482e769 (patch) | |
tree | 96f91570de23e1ebab189934bb1989fa466f5e22 /OpenSim/Framework | |
parent | Clean up output a bit (diff) | |
download | opensim-SC_OLD-e4b8d76b108725fa83dd1e1f3eb909b39482e769.zip opensim-SC_OLD-e4b8d76b108725fa83dd1e1f3eb909b39482e769.tar.gz opensim-SC_OLD-e4b8d76b108725fa83dd1e1f3eb909b39482e769.tar.bz2 opensim-SC_OLD-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')
-rw-r--r-- | OpenSim/Framework/Console/OpenSimAppender.cs | 5 |
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) |