diff options
Diffstat (limited to 'OpenSim/Grid/GridServer')
-rw-r--r-- | OpenSim/Grid/GridServer/GridServerBase.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Grid/GridServer/GridServerBase.cs b/OpenSim/Grid/GridServer/GridServerBase.cs index 263866a..a22f685 100644 --- a/OpenSim/Grid/GridServer/GridServerBase.cs +++ b/OpenSim/Grid/GridServer/GridServerBase.cs | |||
@@ -118,8 +118,15 @@ namespace OpenSim.Grid.GridServer | |||
118 | 118 | ||
119 | protected void LoadGridPlugins() | 119 | protected void LoadGridPlugins() |
120 | { | 120 | { |
121 | // Temporary hack to stop mono-addins scanning warnings from coming out on the console | ||
122 | TextWriter oldOutput = Console.Out; | ||
123 | Console.SetOut(new StreamWriter(Stream.Null)); | ||
124 | |||
121 | AddinManager.Initialize("."); | 125 | AddinManager.Initialize("."); |
122 | AddinManager.Registry.Update(null); | 126 | AddinManager.Registry.Update(null); |
127 | |||
128 | // Returns the console.writelines back to the console's stream | ||
129 | Console.SetOut(oldOutput); | ||
123 | 130 | ||
124 | ExtensionNodeList nodes = AddinManager.GetExtensionNodes("/OpenSim/GridServer"); | 131 | ExtensionNodeList nodes = AddinManager.GetExtensionNodes("/OpenSim/GridServer"); |
125 | foreach (TypeExtensionNode node in nodes) | 132 | foreach (TypeExtensionNode node in nodes) |