diff options
author | Melanie | 2011-12-12 13:51:31 +0100 |
---|---|---|
committer | Melanie | 2011-12-12 13:51:31 +0100 |
commit | afab4b276ebc87f70307ac65e158bb3489d7634b (patch) | |
tree | 46a4e4de797fe6cf59237a9eb590334600df82df /OpenSim/ApplicationPlugins/RemoteController | |
parent | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff) | |
download | opensim-SC_OLD-afab4b276ebc87f70307ac65e158bb3489d7634b.zip opensim-SC_OLD-afab4b276ebc87f70307ac65e158bb3489d7634b.tar.gz opensim-SC_OLD-afab4b276ebc87f70307ac65e158bb3489d7634b.tar.bz2 opensim-SC_OLD-afab4b276ebc87f70307ac65e158bb3489d7634b.tar.xz |
Remove spammy log messages when querying sim health
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 7a1956f..2930753 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -1724,8 +1724,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1724 | 1724 | ||
1725 | private void XmlRpcRegionQueryMethod(XmlRpcRequest request, XmlRpcResponse response, IPEndPoint remoteClient) | 1725 | private void XmlRpcRegionQueryMethod(XmlRpcRequest request, XmlRpcResponse response, IPEndPoint remoteClient) |
1726 | { | 1726 | { |
1727 | m_log.Info("[RADMIN]: Received Query XML Administrator Request"); | ||
1728 | |||
1729 | Hashtable responseData = (Hashtable)response.Value; | 1727 | Hashtable responseData = (Hashtable)response.Value; |
1730 | Hashtable requestData = (Hashtable)request.Params[0]; | 1728 | Hashtable requestData = (Hashtable)request.Params[0]; |
1731 | 1729 | ||
@@ -1736,16 +1734,12 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1736 | UUID region_uuid = (UUID) (string) requestData["region_uuid"]; | 1734 | UUID region_uuid = (UUID) (string) requestData["region_uuid"]; |
1737 | if (!m_application.SceneManager.TrySetCurrentScene(region_uuid)) | 1735 | if (!m_application.SceneManager.TrySetCurrentScene(region_uuid)) |
1738 | throw new Exception(String.Format("failed to switch to region {0}", region_uuid.ToString())); | 1736 | throw new Exception(String.Format("failed to switch to region {0}", region_uuid.ToString())); |
1739 | |||
1740 | m_log.InfoFormat("[RADMIN]: Switched to region {0}", region_uuid.ToString()); | ||
1741 | } | 1737 | } |
1742 | else if (requestData.Contains("region_name")) | 1738 | else if (requestData.Contains("region_name")) |
1743 | { | 1739 | { |
1744 | string region_name = (string) requestData["region_name"]; | 1740 | string region_name = (string) requestData["region_name"]; |
1745 | if (!m_application.SceneManager.TrySetCurrentScene(region_name)) | 1741 | if (!m_application.SceneManager.TrySetCurrentScene(region_name)) |
1746 | throw new Exception(String.Format("failed to switch to region {0}", region_name)); | 1742 | throw new Exception(String.Format("failed to switch to region {0}", region_name)); |
1747 | |||
1748 | m_log.InfoFormat("[RADMIN]: Switched to region {0}", region_name); | ||
1749 | } | 1743 | } |
1750 | else | 1744 | else |
1751 | { | 1745 | { |
@@ -1760,8 +1754,6 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1760 | responseData["health"] = health; | 1754 | responseData["health"] = health; |
1761 | responseData["flags"] = flags; | 1755 | responseData["flags"] = flags; |
1762 | responseData["message"] = text; | 1756 | responseData["message"] = text; |
1763 | |||
1764 | m_log.Info("[RADMIN]: Query XML Administrator Request complete"); | ||
1765 | } | 1757 | } |
1766 | 1758 | ||
1767 | private void XmlRpcConsoleCommandMethod(XmlRpcRequest request, XmlRpcResponse response, IPEndPoint remoteClient) | 1759 | private void XmlRpcConsoleCommandMethod(XmlRpcRequest request, XmlRpcResponse response, IPEndPoint remoteClient) |