diff options
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 0205e38..c2633f8 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -27,6 +27,8 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.IO; | 29 | using System.IO; |
30 | using System.Reflection; | ||
31 | using log4net; | ||
30 | using OpenSim.Framework.Console; | 32 | using OpenSim.Framework.Console; |
31 | using OpenSim.Framework.Statistics; | 33 | using OpenSim.Framework.Statistics; |
32 | 34 | ||
@@ -37,6 +39,8 @@ namespace OpenSim.Framework.Servers | |||
37 | /// </summary> | 39 | /// </summary> |
38 | public abstract class BaseOpenSimServer | 40 | public abstract class BaseOpenSimServer |
39 | { | 41 | { |
42 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
43 | |||
40 | protected ConsoleBase m_console; | 44 | protected ConsoleBase m_console; |
41 | 45 | ||
42 | /// <summary> | 46 | /// <summary> |
@@ -62,12 +66,18 @@ namespace OpenSim.Framework.Servers | |||
62 | 66 | ||
63 | public BaseOpenSimServer() | 67 | public BaseOpenSimServer() |
64 | { | 68 | { |
65 | m_startuptime = DateTime.Now; | 69 | m_startuptime = DateTime.Now; |
66 | |||
67 | m_version = VersionInfo.Version; | 70 | m_version = VersionInfo.Version; |
68 | 71 | } | |
69 | // FIXME: This should probably occur in a startup method common for all the servers. | 72 | |
73 | /// <summary> | ||
74 | /// Performs initialisation of the scene, such as loading configuration from disk. | ||
75 | /// </summary> | ||
76 | public virtual void StartUp() | ||
77 | { | ||
70 | EnhanceVersionInformation(); | 78 | EnhanceVersionInformation(); |
79 | |||
80 | m_log.Info("[STARTUP]: Version " + m_version + "\n"); | ||
71 | } | 81 | } |
72 | 82 | ||
73 | /// <summary> | 83 | /// <summary> |