diff options
Diffstat (limited to 'OpenSim/Framework/Communications/LoginResponse.cs')
-rw-r--r-- | OpenSim/Framework/Communications/LoginResponse.cs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/OpenSim/Framework/Communications/LoginResponse.cs b/OpenSim/Framework/Communications/LoginResponse.cs index 7f8658d..9036884 100644 --- a/OpenSim/Framework/Communications/LoginResponse.cs +++ b/OpenSim/Framework/Communications/LoginResponse.cs | |||
@@ -42,6 +42,8 @@ namespace OpenSim.Framework.UserManagement | |||
42 | /// </summary> | 42 | /// </summary> |
43 | public class LoginResponse | 43 | public class LoginResponse |
44 | { | 44 | { |
45 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||
46 | |||
45 | private Hashtable loginFlagsHash; | 47 | private Hashtable loginFlagsHash; |
46 | private Hashtable globalTexturesHash; | 48 | private Hashtable globalTexturesHash; |
47 | private Hashtable loginError; | 49 | private Hashtable loginError; |
@@ -362,10 +364,8 @@ namespace OpenSim.Framework.UserManagement | |||
362 | } | 364 | } |
363 | catch (Exception e) | 365 | catch (Exception e) |
364 | { | 366 | { |
365 | MainLog.Instance.Warn( | 367 | m_log.Warn("[CLIENT]: LoginResponse: Error creating XML-RPC Response: " + e.Message); |
366 | "CLIENT", | 368 | |
367 | "LoginResponse: Error creating XML-RPC Response: " + e.Message | ||
368 | ); | ||
369 | return (GenerateFailureResponse("Internal Error", "Error generating Login Response", "false")); | 369 | return (GenerateFailureResponse("Internal Error", "Error generating Login Response", "false")); |
370 | } | 370 | } |
371 | } // ToXmlRpcResponse | 371 | } // ToXmlRpcResponse |
@@ -461,10 +461,8 @@ namespace OpenSim.Framework.UserManagement | |||
461 | } | 461 | } |
462 | catch (Exception e) | 462 | catch (Exception e) |
463 | { | 463 | { |
464 | MainLog.Instance.Warn( | 464 | m_log.Warn("[CLIENT]: LoginResponse: Error creating XML-RPC Response: " + e.Message); |
465 | "CLIENT", | 465 | |
466 | "LoginResponse: Error creating XML-RPC Response: " + e.Message | ||
467 | ); | ||
468 | return GenerateFailureResponseLLSD("Internal Error", "Error generating Login Response", "false"); | 466 | return GenerateFailureResponseLLSD("Internal Error", "Error generating Login Response", "false"); |
469 | } | 467 | } |
470 | } | 468 | } |