diff options
author | Justin Clarke Casey | 2009-07-10 18:57:16 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-07-10 18:57:16 +0000 |
commit | d7d2de3a08141a2a445119b5b26b7f766b2be44c (patch) | |
tree | 1a42b42223d0dae025860adb2d5a88ab2989b928 /OpenSim/Framework | |
parent | * minor: Make GridCommon.ini.example refer to inventory service rather than a... (diff) | |
download | opensim-SC_OLD-d7d2de3a08141a2a445119b5b26b7f766b2be44c.zip opensim-SC_OLD-d7d2de3a08141a2a445119b5b26b7f766b2be44c.tar.gz opensim-SC_OLD-d7d2de3a08141a2a445119b5b26b7f766b2be44c.tar.bz2 opensim-SC_OLD-d7d2de3a08141a2a445119b5b26b7f766b2be44c.tar.xz |
* minor: standardize some logging messages
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/Services/GridInfoService.cs | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/OpenSim/Framework/Communications/Services/GridInfoService.cs b/OpenSim/Framework/Communications/Services/GridInfoService.cs index 70e7dce..cd2a152 100644 --- a/OpenSim/Framework/Communications/Services/GridInfoService.cs +++ b/OpenSim/Framework/Communications/Services/GridInfoService.cs | |||
@@ -72,7 +72,8 @@ namespace OpenSim.Framework.Communications.Services | |||
72 | } | 72 | } |
73 | catch (FileNotFoundException) | 73 | catch (FileNotFoundException) |
74 | { | 74 | { |
75 | _log.Warn("[GridInfoService] no OpenSim.ini file found --- GridInfoServices WILL NOT BE AVAILABLE to your users"); | 75 | _log.Warn( |
76 | "[GRID INFO SERVICE]: No OpenSim.ini file found --- GridInfoServices WILL NOT BE AVAILABLE to your users"); | ||
76 | } | 77 | } |
77 | } | 78 | } |
78 | 79 | ||
@@ -123,19 +124,21 @@ namespace OpenSim.Framework.Communications.Services | |||
123 | } | 124 | } |
124 | catch (Exception) | 125 | catch (Exception) |
125 | { | 126 | { |
126 | _log.Debug("[GridInfoService] cannot get grid info from config source, using minimal defaults"); | 127 | _log.Debug("[GRID INFO SERVICE]: Cannot get grid info from config source, using minimal defaults"); |
127 | } | 128 | } |
128 | _log.InfoFormat("[GridInfoService] Grid info service initialized with {0} keys", _info.Count); | 129 | |
130 | _log.DebugFormat("[GRID INFO SERVICE]: Grid info service initialized with {0} keys", _info.Count); | ||
129 | 131 | ||
130 | } | 132 | } |
131 | 133 | ||
132 | private void IssueWarning() | 134 | private void IssueWarning() |
133 | { | 135 | { |
134 | _log.Warn("[GridInfoService] found no [GridInfo] section in your OpenSim.ini"); | 136 | _log.Warn("[GRID INFO SERVICE]: found no [GridInfo] section in your OpenSim.ini"); |
135 | _log.Warn("[GridInfoService] trying to guess sensible defaults, you might want to provide better ones:"); | 137 | _log.Warn("[GRID INFO SERVICE]: trying to guess sensible defaults, you might want to provide better ones:"); |
138 | |||
136 | foreach (string k in _info.Keys) | 139 | foreach (string k in _info.Keys) |
137 | { | 140 | { |
138 | _log.WarnFormat("[GridInfoService] {0}: {1}", k, _info[k]); | 141 | _log.WarnFormat("[GRID INFO SERVICE]: {0}: {1}", k, _info[k]); |
139 | } | 142 | } |
140 | } | 143 | } |
141 | 144 | ||
@@ -144,7 +147,7 @@ namespace OpenSim.Framework.Communications.Services | |||
144 | XmlRpcResponse response = new XmlRpcResponse(); | 147 | XmlRpcResponse response = new XmlRpcResponse(); |
145 | Hashtable responseData = new Hashtable(); | 148 | Hashtable responseData = new Hashtable(); |
146 | 149 | ||
147 | _log.Info("[GridInfo]: Request for grid info"); | 150 | _log.Info("[GRID INFO SERVICE]: Request for grid info"); |
148 | 151 | ||
149 | foreach (string k in _info.Keys) | 152 | foreach (string k in _info.Keys) |
150 | { | 153 | { |