mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Assortment of Console changes - console messages are now grouped into modules (eg "client", "grid", "terrain", "storage", etc)
This commit is contained in:
@@ -73,14 +73,18 @@ namespace OpenSim.Framework.Console
|
||||
Log.Close();
|
||||
}
|
||||
|
||||
[Obsolete("Log.WriteLine is obsolete, use Warn / Error / Verbose instead.")]
|
||||
public void Write(string format, params object[] args)
|
||||
{
|
||||
// HOUSEKEEPING : Will remove once use is removed.
|
||||
Notice(format, args);
|
||||
return;
|
||||
}
|
||||
|
||||
[Obsolete("Log.WriteLine is obsolete, use Warn / Error / Verbose instead.")]
|
||||
public void WriteLine(LogPriority importance, string format, params object[] args)
|
||||
{
|
||||
// HOUSEKEEPING : Will remove once use is removed.
|
||||
Log.WriteLine(format, args);
|
||||
Log.Flush();
|
||||
if (!m_silent)
|
||||
@@ -249,6 +253,7 @@ namespace OpenSim.Framework.Console
|
||||
|
||||
private void WritePrefixLine(ConsoleColor color, string sender)
|
||||
{
|
||||
sender = sender.ToUpper();
|
||||
Log.WriteLine("[" + sender + "] ");
|
||||
Log.Flush();
|
||||
|
||||
|
||||
@@ -329,7 +329,7 @@ namespace OpenSim.Framework.Configuration
|
||||
}
|
||||
else
|
||||
{
|
||||
MainLog.Instance.Warn("Incorrect result given, the configuration option must be " + errorMessage + ". Prompting for same option...");
|
||||
MainLog.Instance.Warn("configuration","Incorrect result given, the configuration option must be " + errorMessage + ". Prompting for same option...");
|
||||
ignoreNextFromConfig = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,8 +223,6 @@ namespace OpenSim.Framework.UserManagement
|
||||
responseData["sim_port"] =(Int32) this.SimPort;
|
||||
responseData["sim_ip"] = this.SimAddress;
|
||||
|
||||
MainLog.Instance.Warn("SIM IP: " + responseData["sim_ip"] + "; SIM PORT: " + responseData["sim_port"]);
|
||||
|
||||
responseData["agent_id"] = this.AgentID.ToStringHyphenated();
|
||||
responseData["session_id"] = this.SessionID.ToStringHyphenated();
|
||||
responseData["secure_session_id"] = this.SecureSessionID.ToStringHyphenated();
|
||||
|
||||
Reference in New Issue
Block a user