diff options
author | Jeff Ames | 2008-02-10 01:57:59 +0000 |
---|---|---|
committer | Jeff Ames | 2008-02-10 01:57:59 +0000 |
commit | e207284fefa60637e35405ebc87e5e151bd2eabd (patch) | |
tree | 6e9954502ea44fe8f6327cb65cfd0026c3322578 /OpenSim/Grid/UserServer | |
parent | Set svn:ignore in OpenSim/Tests. (diff) | |
download | opensim-SC-e207284fefa60637e35405ebc87e5e151bd2eabd.zip opensim-SC-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.gz opensim-SC-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.bz2 opensim-SC-e207284fefa60637e35405ebc87e5e151bd2eabd.tar.xz |
Clean up logging calls using String.Format explicitly
Diffstat (limited to 'OpenSim/Grid/UserServer')
-rw-r--r-- | OpenSim/Grid/UserServer/Main.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs index c69416a..b093d02 100644 --- a/OpenSim/Grid/UserServer/Main.cs +++ b/OpenSim/Grid/UserServer/Main.cs | |||
@@ -156,7 +156,7 @@ namespace OpenSim.Grid.UserServer | |||
156 | m_userManager.AddUserProfile(tempfirstname, templastname, tempMD5Passwd, regX, regY); | 156 | m_userManager.AddUserProfile(tempfirstname, templastname, tempMD5Passwd, regX, regY); |
157 | } catch (Exception ex) | 157 | } catch (Exception ex) |
158 | { | 158 | { |
159 | m_log.Error(String.Format("[SERVER]: Error creating user: {0}", ex.ToString())); | 159 | m_log.ErrorFormat("[SERVER]: Error creating user: {0}", ex.ToString()); |
160 | } | 160 | } |
161 | 161 | ||
162 | try | 162 | try |
@@ -166,7 +166,7 @@ namespace OpenSim.Grid.UserServer | |||
166 | } | 166 | } |
167 | catch (Exception ex) | 167 | catch (Exception ex) |
168 | { | 168 | { |
169 | m_log.Error(String.Format("[SERVER]: Error creating inventory for user: {0}", ex.ToString())); | 169 | m_log.ErrorFormat("[SERVER]: Error creating inventory for user: {0}", ex.ToString()); |
170 | } | 170 | } |
171 | m_lastCreatedUser = userID; | 171 | m_lastCreatedUser = userID; |
172 | break; | 172 | break; |