diff options
author | Jeff Ames | 2008-03-17 17:10:53 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-17 17:10:53 +0000 |
commit | 825c89e7ac2ab2d545e6a45323ee24acd31f6756 (patch) | |
tree | ee1e73db608dba71e4a4c63ce0459e8e25eeb505 /OpenSim/Grid/UserServer/UserManager.cs | |
parent | * Remove uninformative exception traces from remoting errors (diff) | |
download | opensim-SC_OLD-825c89e7ac2ab2d545e6a45323ee24acd31f6756.zip opensim-SC_OLD-825c89e7ac2ab2d545e6a45323ee24acd31f6756.tar.gz opensim-SC_OLD-825c89e7ac2ab2d545e6a45323ee24acd31f6756.tar.bz2 opensim-SC_OLD-825c89e7ac2ab2d545e6a45323ee24acd31f6756.tar.xz |
Replaced some Console.WriteLine calls with writes to log.
Diffstat (limited to 'OpenSim/Grid/UserServer/UserManager.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/UserManager.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs index f9d24e5..311a9c9 100644 --- a/OpenSim/Grid/UserServer/UserManager.cs +++ b/OpenSim/Grid/UserServer/UserManager.cs | |||
@@ -42,8 +42,10 @@ namespace OpenSim.Grid.UserServer | |||
42 | public class UserManager : UserManagerBase | 42 | public class UserManager : UserManagerBase |
43 | { | 43 | { |
44 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 44 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); |
45 | |||
45 | public event logOffUser OnLogOffUser; | 46 | public event logOffUser OnLogOffUser; |
46 | private logOffUser handlerLogOffUser = null; | 47 | private logOffUser handlerLogOffUser = null; |
48 | |||
47 | /// <summary> | 49 | /// <summary> |
48 | /// Deletes an active agent session | 50 | /// Deletes an active agent session |
49 | /// </summary> | 51 | /// </summary> |
@@ -168,7 +170,7 @@ namespace OpenSim.Grid.UserServer | |||
168 | returnAvatar = GenerateAgentPickerRequestResponse(queryID, (string) requestData["avquery"]); | 170 | returnAvatar = GenerateAgentPickerRequestResponse(queryID, (string) requestData["avquery"]); |
169 | } | 171 | } |
170 | 172 | ||
171 | Console.WriteLine("[AVATARINFO]: Servicing Avatar Query: " + (string) requestData["avquery"]); | 173 | m_log.InfoFormat("[AVATARINFO]: Servicing Avatar Query: " + (string) requestData["avquery"]); |
172 | return AvatarPickerListtoXmlRPCResponse(queryID, returnAvatar); | 174 | return AvatarPickerListtoXmlRPCResponse(queryID, returnAvatar); |
173 | } | 175 | } |
174 | 176 | ||