diff options
author | Justin Clarke Casey | 2007-12-23 12:34:30 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2007-12-23 12:34:30 +0000 |
commit | 984f2da17d2b0064e38f8aa620ad7f5a19b0b3a2 (patch) | |
tree | eda481af55ffc56397b4ab8aace3c51a6ccf316e /OpenSim/ApplicationPlugins | |
parent | Yet more inventory debugging messages (diff) | |
download | opensim-SC_OLD-984f2da17d2b0064e38f8aa620ad7f5a19b0b3a2.zip opensim-SC_OLD-984f2da17d2b0064e38f8aa620ad7f5a19b0b3a2.tar.gz opensim-SC_OLD-984f2da17d2b0064e38f8aa620ad7f5a19b0b3a2.tar.bz2 opensim-SC_OLD-984f2da17d2b0064e38f8aa620ad7f5a19b0b3a2.tar.xz |
Some log fixing for the LoadRegionsPlugin
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs index 765c99f..3c27108 100644 --- a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs +++ b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs | |||
@@ -49,17 +49,17 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
49 | { | 49 | { |
50 | public void Initialise(OpenSimMain openSim) | 50 | public void Initialise(OpenSimMain openSim) |
51 | { | 51 | { |
52 | System.Console.WriteLine("Load Regions addin being initialised"); | 52 | MainLog.Instance.Notice("LOADREGIONS", "Load Regions addin being initialised"); |
53 | 53 | ||
54 | IRegionLoader regionLoader; | 54 | IRegionLoader regionLoader; |
55 | if (openSim.ConfigSource.Configs["Startup"].GetString("region_info_source", "filesystem") == "filesystem") | 55 | if (openSim.ConfigSource.Configs["Startup"].GetString("region_info_source", "filesystem") == "filesystem") |
56 | { | 56 | { |
57 | MainLog.Instance.Notice("Loading Region Info from filesystem"); | 57 | MainLog.Instance.Notice("LOADREGIONS", "Loading Region Info from filesystem"); |
58 | regionLoader = new RegionLoaderFileSystem(); | 58 | regionLoader = new RegionLoaderFileSystem(); |
59 | } | 59 | } |
60 | else | 60 | else |
61 | { | 61 | { |
62 | MainLog.Instance.Notice("Loading Region Info from web"); | 62 | MainLog.Instance.Notice("LOADREGIONSPLUGIN", "Loading Region Info from web"); |
63 | regionLoader = new RegionLoaderWebServer(); | 63 | regionLoader = new RegionLoaderWebServer(); |
64 | } | 64 | } |
65 | 65 | ||
@@ -70,7 +70,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
70 | 70 | ||
71 | for (int i = 0; i < regionsToLoad.Length; i++) | 71 | for (int i = 0; i < regionsToLoad.Length; i++) |
72 | { | 72 | { |
73 | MainLog.Instance.Debug("Creating Region: " + regionsToLoad[i].RegionName); | 73 | MainLog.Instance.Debug("LOADREGIONS", "Creating Region: " + regionsToLoad[i].RegionName); |
74 | openSim.CreateRegion(regionsToLoad[i]); | 74 | openSim.CreateRegion(regionsToLoad[i]); |
75 | } | 75 | } |
76 | 76 | ||
@@ -79,17 +79,17 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
79 | } | 79 | } |
80 | public void LoadRegionFromConfig(OpenSimMain openSim, ulong regionhandle) | 80 | public void LoadRegionFromConfig(OpenSimMain openSim, ulong regionhandle) |
81 | { | 81 | { |
82 | System.Console.WriteLine("Load Regions addin being initialised"); | 82 | MainLog.Instance.Notice("LOADREGIONS", "Load Regions addin being initialised"); |
83 | 83 | ||
84 | IRegionLoader regionLoader; | 84 | IRegionLoader regionLoader; |
85 | if (openSim.ConfigSource.Configs["Startup"].GetString("region_info_source", "filesystem") == "filesystem") | 85 | if (openSim.ConfigSource.Configs["Startup"].GetString("region_info_source", "filesystem") == "filesystem") |
86 | { | 86 | { |
87 | MainLog.Instance.Notice("Loading Region Info from filesystem"); | 87 | MainLog.Instance.Notice("LOADREGIONS", "Loading Region Info from filesystem"); |
88 | regionLoader = new RegionLoaderFileSystem(); | 88 | regionLoader = new RegionLoaderFileSystem(); |
89 | } | 89 | } |
90 | else | 90 | else |
91 | { | 91 | { |
92 | MainLog.Instance.Notice("Loading Region Info from web"); | 92 | MainLog.Instance.Notice("LOADREGIONS", "Loading Region Info from web"); |
93 | regionLoader = new RegionLoaderWebServer(); | 93 | regionLoader = new RegionLoaderWebServer(); |
94 | } | 94 | } |
95 | 95 | ||
@@ -99,7 +99,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions | |||
99 | { | 99 | { |
100 | if (regionhandle == regionsToLoad[i].RegionHandle) | 100 | if (regionhandle == regionsToLoad[i].RegionHandle) |
101 | { | 101 | { |
102 | MainLog.Instance.Debug("Creating Region: " + regionsToLoad[i].RegionName); | 102 | MainLog.Instance.Debug("LOADREGIONS", "Creating Region: " + regionsToLoad[i].RegionName); |
103 | openSim.CreateRegion(regionsToLoad[i]); | 103 | openSim.CreateRegion(regionsToLoad[i]); |
104 | } | 104 | } |
105 | } | 105 | } |