aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGridServices/OpenGridServices.UserServer/Main.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-06-05 13:18:44 +0000
committerAdam Frisby2007-06-05 13:18:44 +0000
commit75f9b25b41b5a80025e17808b5b2d9fe7295d54e (patch)
treecd96e948447cc9a030c7ce537d25da06ea40db5e /OpenGridServices/OpenGridServices.UserServer/Main.cs
parent* "We are" message is now a status text message. (diff)
downloadopensim-SC_OLD-75f9b25b41b5a80025e17808b5b2d9fe7295d54e.zip
opensim-SC_OLD-75f9b25b41b5a80025e17808b5b2d9fe7295d54e.tar.gz
opensim-SC_OLD-75f9b25b41b5a80025e17808b5b2d9fe7295d54e.tar.bz2
opensim-SC_OLD-75f9b25b41b5a80025e17808b5b2d9fe7295d54e.tar.xz
* Fixed OGS build
* Converted to new console interfaces * Fixed other minor issues which somehow snuck in
Diffstat (limited to '')
-rw-r--r--OpenGridServices/OpenGridServices.UserServer/Main.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenGridServices/OpenGridServices.UserServer/Main.cs b/OpenGridServices/OpenGridServices.UserServer/Main.cs
index 3b17cff..d4fe355 100644
--- a/OpenGridServices/OpenGridServices.UserServer/Main.cs
+++ b/OpenGridServices/OpenGridServices.UserServer/Main.cs
@@ -81,7 +81,7 @@ namespace OpenGridServices.UserServer
81 81
82 private void Work() 82 private void Work()
83 { 83 {
84 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"\nEnter help for a list of commands\n"); 84 m_console.Notice("Enter help for a list of commands\n");
85 85
86 while (true) 86 while (true)
87 { 87 {
@@ -96,16 +96,16 @@ namespace OpenGridServices.UserServer
96 this.ConfigDB(this.localXMLConfig); 96 this.ConfigDB(this.localXMLConfig);
97 this.localXMLConfig.Close(); 97 this.localXMLConfig.Close();
98 98
99 MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Loading configuration"); 99 MainConsole.Instance.Verbose("Main.cs:Startup() - Loading configuration");
100 Cfg = this.LoadConfigDll(this.ConfigDll); 100 Cfg = this.LoadConfigDll(this.ConfigDll);
101 Cfg.InitConfig(); 101 Cfg.InitConfig();
102 102
103 MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Main.cs:Startup() - Establishing data connection"); 103 MainConsole.Instance.Verbose( "Main.cs:Startup() - Establishing data connection");
104 m_userManager = new UserManager(); 104 m_userManager = new UserManager();
105 m_userManager._config = Cfg; 105 m_userManager._config = Cfg;
106 m_userManager.AddPlugin(StorageDll); 106 m_userManager.AddPlugin(StorageDll);
107 107
108 MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Main.cs:Startup() - Starting HTTP process"); 108 MainConsole.Instance.Verbose("Main.cs:Startup() - Starting HTTP process");
109 BaseHttpServer httpServer = new BaseHttpServer(8002); 109 BaseHttpServer httpServer = new BaseHttpServer(8002);
110 110
111 httpServer.AddXmlRPCHandler("login_to_simulator", m_userManager.XmlRpcLoginMethod); 111 httpServer.AddXmlRPCHandler("login_to_simulator", m_userManager.XmlRpcLoginMethod);
@@ -144,8 +144,8 @@ namespace OpenGridServices.UserServer
144 switch (cmd) 144 switch (cmd)
145 { 145 {
146 case "help": 146 case "help":
147 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"create user - create a new user"); 147 m_console.Notice("create user - create a new user");
148 m_console.WriteLine(OpenSim.Framework.Console.LogPriority.HIGH,"shutdown - shutdown the grid (USE CAUTION!)"); 148 m_console.Notice("shutdown - shutdown the grid (USE CAUTION!)");
149 break; 149 break;
150 150
151 case "create": 151 case "create":