aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/Application.cs
diff options
context:
space:
mode:
authorCharles Krinke2009-02-22 20:52:55 +0000
committerCharles Krinke2009-02-22 20:52:55 +0000
commit8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49 (patch)
tree96a24a49de82056060dd9b7bab0cb209d5f1a129 /OpenSim/Region/Application/Application.cs
parentAllow delivery of object messages gridwide (diff)
downloadopensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.zip
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.gz
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.bz2
opensim-SC_OLD-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.xz
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/Application.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs
index b8fa786..017160a 100644
--- a/OpenSim/Region/Application/Application.cs
+++ b/OpenSim/Region/Application/Application.cs
@@ -55,15 +55,15 @@ namespace OpenSim
55 55
56 XmlConfigurator.Configure(); 56 XmlConfigurator.Configure();
57 57
58 Console.Write("Performing compatibility checks... "); 58 m_log.Info("Performing compatibility checks... ");
59 string supported = String.Empty; 59 string supported = String.Empty;
60 if (Util.IsEnvironmentSupported(ref supported)) 60 if (Util.IsEnvironmentSupported(ref supported))
61 { 61 {
62 Console.WriteLine(" Environment is compatible.\n"); 62 m_log.Info("Environment is compatible.\n");
63 } 63 }
64 else 64 else
65 { 65 {
66 Console.WriteLine(" Environment is unsupported (" + supported + ")\n"); 66 m_log.Warn("Environment is unsupported (" + supported + ")\n");
67 } 67 }
68 68
69 Culture.SetCurrentCulture(); 69 Culture.SetCurrentCulture();
@@ -115,7 +115,7 @@ namespace OpenSim
115 } 115 }
116 catch (Exception e) 116 catch (Exception e)
117 { 117 {
118 Console.WriteLine("Caught exception from command: {0}", e); 118 m_log.Error("Caught exception from command: {0}", e);
119 } 119 }
120 } 120 }
121 } 121 }