diff options
author | Charles Krinke | 2009-02-22 20:52:55 +0000 |
---|---|---|
committer | Charles Krinke | 2009-02-22 20:52:55 +0000 |
commit | 8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49 (patch) | |
tree | 96a24a49de82056060dd9b7bab0cb209d5f1a129 /OpenSim/Region/Communications/Local/LocalUserServices.cs | |
parent | Allow delivery of object messages gridwide (diff) | |
download | opensim-SC-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.zip opensim-SC-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.gz opensim-SC-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.bz2 opensim-SC-8f55b9d735fbc975ce7a4b54e972c17ffbfb1f49.tar.xz |
Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added log4net dependency to physxplugin in prebuild.xml.
* Added missing m_log fields to classes.
* Replaced Console.WriteLine with appropriate m_log.Xxxx
* Tested that nant test target runs succesfully.
* Tested that local opensim sandbox starts up without errors.
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalUserServices.cs')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalUserServices.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index f4fe686..a239033 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -29,11 +29,14 @@ using System; | |||
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
31 | using OpenSim.Framework.Communications; | 31 | using OpenSim.Framework.Communications; |
32 | using log4net; | ||
33 | using System.Reflection; | ||
32 | 34 | ||
33 | namespace OpenSim.Region.Communications.Local | 35 | namespace OpenSim.Region.Communications.Local |
34 | { | 36 | { |
35 | public class LocalUserServices : UserManagerBase | 37 | public class LocalUserServices : UserManagerBase |
36 | { | 38 | { |
39 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
37 | private readonly uint m_defaultHomeX; | 40 | private readonly uint m_defaultHomeX; |
38 | private readonly uint m_defaultHomeY; | 41 | private readonly uint m_defaultHomeY; |
39 | 42 | ||
@@ -64,7 +67,7 @@ namespace OpenSim.Region.Communications.Local | |||
64 | return profile; | 67 | return profile; |
65 | } | 68 | } |
66 | 69 | ||
67 | Console.WriteLine("Unknown Master User. Sandbox Mode: Creating Account"); | 70 | m_log.Debug("Unknown Master User. Sandbox Mode: Creating Account"); |
68 | AddUser(firstName, lastName, password, "", m_defaultHomeX, m_defaultHomeY); | 71 | AddUser(firstName, lastName, password, "", m_defaultHomeX, m_defaultHomeY); |
69 | return GetUserProfile(firstName, lastName); | 72 | return GetUserProfile(firstName, lastName); |
70 | } | 73 | } |