diff options
author | Justin Clark-Casey (justincc) | 2011-11-29 21:53:15 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-29 21:53:15 +0000 |
commit | 2a9c9ae340e6ccf76412a03bd44af470558e2d93 (patch) | |
tree | 7389d89483430dfd643f6dd214d6023df99b469c | |
parent | On "show caps", stop excluding the seed cap but do exclude it elsewhere (diff) | |
download | opensim-SC_OLD-2a9c9ae340e6ccf76412a03bd44af470558e2d93.zip opensim-SC_OLD-2a9c9ae340e6ccf76412a03bd44af470558e2d93.tar.gz opensim-SC_OLD-2a9c9ae340e6ccf76412a03bd44af470558e2d93.tar.bz2 opensim-SC_OLD-2a9c9ae340e6ccf76412a03bd44af470558e2d93.tar.xz |
Provide more user feedback when "debug http" is set
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index d97583c..4b38a2e 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -894,6 +894,8 @@ namespace OpenSim | |||
894 | if (int.TryParse(args[2], out newDebug)) | 894 | if (int.TryParse(args[2], out newDebug)) |
895 | { | 895 | { |
896 | m_sceneManager.SetDebugPacketLevelOnCurrentScene(newDebug, name); | 896 | m_sceneManager.SetDebugPacketLevelOnCurrentScene(newDebug, name); |
897 | // We provide user information elsewhere if any clients had their debug level set. | ||
898 | // MainConsole.Instance.OutputFormat("Debug packet level set to {0}", newDebug); | ||
897 | } | 899 | } |
898 | else | 900 | else |
899 | { | 901 | { |
@@ -910,6 +912,7 @@ namespace OpenSim | |||
910 | if (int.TryParse(args[2], out newDebug)) | 912 | if (int.TryParse(args[2], out newDebug)) |
911 | { | 913 | { |
912 | MainServer.Instance.DebugLevel = newDebug; | 914 | MainServer.Instance.DebugLevel = newDebug; |
915 | MainConsole.Instance.OutputFormat("Debug http level set to {0}", newDebug); | ||
913 | break; | 916 | break; |
914 | } | 917 | } |
915 | } | 918 | } |
@@ -945,7 +948,7 @@ namespace OpenSim | |||
945 | break; | 948 | break; |
946 | 949 | ||
947 | default: | 950 | default: |
948 | MainConsole.Instance.Output("Unknown debug"); | 951 | MainConsole.Instance.Output("Unknown debug command"); |
949 | break; | 952 | break; |
950 | } | 953 | } |
951 | } | 954 | } |