aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorOren Hurvitz2012-04-23 15:31:45 +0300
committerJustin Clark-Casey (justincc)2012-04-24 21:38:09 +0100
commit2f398231acda79e313c2975ecdd5a6015cb71a54 (patch)
treeb5277aca723d6ccf74ec875d4b6fd05e8c9453c1 /OpenSim/Framework
parentRefactored how asset/inventory types are associated with content types: gathe... (diff)
downloadopensim-SC_OLD-2f398231acda79e313c2975ecdd5a6015cb71a54.zip
opensim-SC_OLD-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.gz
opensim-SC_OLD-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.bz2
opensim-SC_OLD-2f398231acda79e313c2975ecdd5a6015cb71a54.tar.xz
Minor improvements to logging
Eliminated an extra newline in the console if the log line doesn't contain a category (example of a category: "[ASSETS]").
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Console/LocalConsole.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs
index 7c8626d..f65813b 100644
--- a/OpenSim/Framework/Console/LocalConsole.cs
+++ b/OpenSim/Framework/Console/LocalConsole.cs
@@ -296,6 +296,10 @@ namespace OpenSim.Framework.Console
296 matches[0].Groups["Category"].Value); 296 matches[0].Groups["Category"].Value);
297 System.Console.Write("]:"); 297 System.Console.Write("]:");
298 } 298 }
299 else
300 {
301 outText = outText.Trim();
302 }
299 } 303 }
300 304
301 if (level == "error") 305 if (level == "error")