diff options
author | onefang | 2019-05-19 22:15:41 +1000 |
---|---|---|
committer | onefang | 2019-05-19 22:15:41 +1000 |
commit | 295e91b8f44a356ab742dedd27c1b7edfe7b1157 (patch) | |
tree | de336b1b137c27f94bd4e0a2fb63bea9b1de60e2 | |
parent | Move db directory out of tree. (diff) | |
download | opensim-SC_OLD-295e91b8f44a356ab742dedd27c1b7edfe7b1157.zip opensim-SC_OLD-295e91b8f44a356ab742dedd27c1b7edfe7b1157.tar.gz opensim-SC_OLD-295e91b8f44a356ab742dedd27c1b7edfe7b1157.tar.bz2 opensim-SC_OLD-295e91b8f44a356ab742dedd27c1b7edfe7b1157.tar.xz |
Move cache, config, logs out of tree, and various related clean ups.
Diffstat (limited to '')
24 files changed, 49 insertions, 42 deletions
diff --git a/.nant/local.include b/.nant/local.include index be79d1c..07421c8 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -5,9 +5,9 @@ | |||
5 | <!-- This target produces a source distribution of OpenSimulator --> | 5 | <!-- This target produces a source distribution of OpenSimulator --> |
6 | <!-- TODO: A few parameters still need to be tweaked after running this - need to do this automatically with sed or similar --> | 6 | <!-- TODO: A few parameters still need to be tweaked after running this - need to do this automatically with sed or similar --> |
7 | <target name="distsrc"> | 7 | <target name="distsrc"> |
8 | <copy file="bin/OpenSim.ini.example" tofile="bin/OpenSim.ini"/> | 8 | <copy file="config/OpenSim.ini.example" tofile="config/OpenSim.ini"/> |
9 | <copy file="bin/config-include/StandaloneCommon.ini.example" tofile="bin/config-include/StandaloneCommon.ini"/> | 9 | <copy file="config/config-include/StandaloneCommon.ini.example" tofile="config/config-include/StandaloneCommon.ini"/> |
10 | <copy file="bin/config-include/FlotsamCache.ini.example" tofile="bin/config-include/FlotsamCache.ini"/> | 10 | <copy file="config/config-include/FlotsamCache.ini.example" tofile="config/config-include/FlotsamCache.ini"/> |
11 | <!-- delete files generated by runprebuild.sh which had to be run in order to generate the build file for this target--> | 11 | <!-- delete files generated by runprebuild.sh which had to be run in order to generate the build file for this target--> |
12 | <delete> | 12 | <delete> |
13 | <fileset basedir="OpenSim"> | 13 | <fileset basedir="OpenSim"> |
diff --git a/BUILDING.md b/BUILDING.md index d8deeeb..1447bd0 100644 --- a/BUILDING.md +++ b/BUILDING.md | |||
@@ -4,7 +4,7 @@ Steps: | |||
4 | * runprebuild.bat | 4 | * runprebuild.bat |
5 | * Load OpenSim.sln into Visual Studio .NET and build the solution. | 5 | * Load OpenSim.sln into Visual Studio .NET and build the solution. |
6 | * chdir bin | 6 | * chdir bin |
7 | * copy OpenSim.ini.example to OpenSim.ini and other appropriate files in bin/config-include | 7 | * copy OpenSim.ini.example to OpenSim.ini and other appropriate files in ../../config/config-include |
8 | * run OpenSim.exe | 8 | * run OpenSim.exe |
9 | 9 | ||
10 | # Building on Linux | 10 | # Building on Linux |
@@ -21,7 +21,7 @@ From the distribution type: | |||
21 | * ./runprebuild.sh | 21 | * ./runprebuild.sh |
22 | * nant (or !* xbuild) | 22 | * nant (or !* xbuild) |
23 | * cd bin | 23 | * cd bin |
24 | * copy OpenSim.ini.example to OpenSim.ini and other appropriate files in bin/config-include | 24 | * copy OpenSim.ini.example to OpenSim.ini and other appropriate files in ../../config/config-include |
25 | * run mono OpenSim.exe | 25 | * run mono OpenSim.exe |
26 | !* xbuild option switches | 26 | !* xbuild option switches |
27 | !* clean: xbuild /target:clean | 27 | !* clean: xbuild /target:clean |
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs index 73f0323..fac346a 100644 --- a/OpenSim/Framework/Console/LocalConsole.cs +++ b/OpenSim/Framework/Console/LocalConsole.cs | |||
@@ -95,9 +95,9 @@ namespace OpenSim.Framework.Console | |||
95 | return; | 95 | return; |
96 | } | 96 | } |
97 | 97 | ||
98 | string m_historyFile = startupConfig.GetString("ConsoleHistoryFile", "OpenSimConsoleHistory.txt"); | 98 | string m_historyFile = startupConfig.GetString("ConsoleHistoryFile", Path.Combine(Util.logsDir(), "OpenSimConsoleHistory.txt")); |
99 | int m_historySize = startupConfig.GetInt("ConsoleHistoryFileLines", 100); | 99 | int m_historySize = startupConfig.GetInt("ConsoleHistoryFileLines", 100); |
100 | m_historyPath = Path.GetFullPath(Path.Combine(Util.configDir(), m_historyFile)); | 100 | m_historyPath = Path.GetFullPath(m_historyFile); |
101 | m_log.InfoFormat("[LOCAL CONSOLE]: Persistent command line history is Enabled, up to {0} lines from file {1}", m_historySize, m_historyPath); | 101 | m_log.InfoFormat("[LOCAL CONSOLE]: Persistent command line history is Enabled, up to {0} lines from file {1}", m_historySize, m_historyPath); |
102 | 102 | ||
103 | if (File.Exists(m_historyPath)) | 103 | if (File.Exists(m_historyPath)) |
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 2f65f3c..a448b31 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -1282,8 +1282,14 @@ namespace OpenSim.Framework | |||
1282 | return Path.Combine("..", Path.Combine("..", "db")); | 1282 | return Path.Combine("..", Path.Combine("..", "db")); |
1283 | } | 1283 | } |
1284 | 1284 | ||
1285 | public static string cacheDir() | ||
1286 | { | ||
1287 | return Path.Combine("..", Path.Combine("..", "caches")); | ||
1288 | } | ||
1289 | |||
1285 | public static string configDir() | 1290 | public static string configDir() |
1286 | { | 1291 | { |
1292 | // return Path.Combine("..", Path.Combine("..", "config")); | ||
1287 | return "."; | 1293 | return "."; |
1288 | } | 1294 | } |
1289 | 1295 | ||
@@ -1292,6 +1298,11 @@ namespace OpenSim.Framework | |||
1292 | return "."; | 1298 | return "."; |
1293 | } | 1299 | } |
1294 | 1300 | ||
1301 | public static string logsDir() | ||
1302 | { | ||
1303 | return Path.Combine("..", "logs"); | ||
1304 | } | ||
1305 | |||
1295 | public static string logFile() | 1306 | public static string logFile() |
1296 | { | 1307 | { |
1297 | foreach (IAppender appender in LogManager.GetRepository().GetAppenders()) | 1308 | foreach (IAppender appender in LogManager.GetRepository().GetAppenders()) |
@@ -1302,7 +1313,7 @@ namespace OpenSim.Framework | |||
1302 | } | 1313 | } |
1303 | } | 1314 | } |
1304 | 1315 | ||
1305 | return "./OpenSim.log"; | 1316 | return Path.Combine(logsDir(), "OpenSim.log"); |
1306 | } | 1317 | } |
1307 | 1318 | ||
1308 | public static string statsLogFile() | 1319 | public static string statsLogFile() |
@@ -1315,7 +1326,7 @@ namespace OpenSim.Framework | |||
1315 | } | 1326 | } |
1316 | } | 1327 | } |
1317 | 1328 | ||
1318 | return "./OpenSimStats.log"; | 1329 | return Path.Combine(logsDir(), "OpenSimStats.log"); |
1319 | } | 1330 | } |
1320 | 1331 | ||
1321 | public static string logDir() | 1332 | public static string logDir() |
diff --git a/OpenSim/Region/Application/ConfigurationLoader.cs b/OpenSim/Region/Application/ConfigurationLoader.cs index 62bd4f4..19db7a9 100644 --- a/OpenSim/Region/Application/ConfigurationLoader.cs +++ b/OpenSim/Region/Application/ConfigurationLoader.cs | |||
@@ -154,15 +154,14 @@ namespace OpenSim | |||
154 | } | 154 | } |
155 | 155 | ||
156 | // Override distro settings with contents of inidirectory | 156 | // Override distro settings with contents of inidirectory |
157 | string iniDirName = startupConfig.GetString("inidirectory", "config"); | 157 | string iniDirPath = startupConfig.GetString("inidirectory", Util.configDir()); |
158 | string iniDirPath = Path.Combine(Util.configDir(), iniDirName); | ||
159 | 158 | ||
160 | if (Directory.Exists(iniDirPath)) | 159 | if (Directory.Exists(iniDirPath)) |
161 | { | 160 | { |
162 | m_log.InfoFormat("[CONFIG]: Searching folder {0} for config ini files", iniDirPath); | 161 | m_log.InfoFormat("[CONFIG]: Searching folder {0} for config ini files", iniDirPath); |
163 | List<string> overrideSources = new List<string>(); | 162 | List<string> overrideSources = new List<string>(); |
164 | 163 | ||
165 | string[] fileEntries = Directory.GetFiles(iniDirName); | 164 | string[] fileEntries = Directory.GetFiles(iniDirPath); |
166 | foreach (string filePath in fileEntries) | 165 | foreach (string filePath in fileEntries) |
167 | { | 166 | { |
168 | if (Path.GetExtension(filePath).ToLower() == ".ini") | 167 | if (Path.GetExtension(filePath).ToLower() == ".ini") |
diff --git a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs index c1bf544..bb0f424 100644 --- a/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs +++ b/OpenSim/Region/CoreModules/Asset/FlotsamAssetCache.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Region.CoreModules.Asset | |||
66 | private bool m_cleanupRunning; | 66 | private bool m_cleanupRunning; |
67 | 67 | ||
68 | private const string m_ModuleName = "FlotsamAssetCache"; | 68 | private const string m_ModuleName = "FlotsamAssetCache"; |
69 | private const string m_DefaultCacheDirectory = "./assetcache"; | 69 | private const string m_DefaultCacheDirectory = "assetcache"; |
70 | private string m_CacheDirectory = m_DefaultCacheDirectory; | 70 | private string m_CacheDirectory = m_DefaultCacheDirectory; |
71 | 71 | ||
72 | private readonly List<char> m_InvalidChars = new List<char>(); | 72 | private readonly List<char> m_InvalidChars = new List<char>(); |
@@ -159,7 +159,7 @@ namespace OpenSim.Region.CoreModules.Asset | |||
159 | else | 159 | else |
160 | { | 160 | { |
161 | m_FileCacheEnabled = assetConfig.GetBoolean("FileCacheEnabled", m_FileCacheEnabled); | 161 | m_FileCacheEnabled = assetConfig.GetBoolean("FileCacheEnabled", m_FileCacheEnabled); |
162 | m_CacheDirectory = assetConfig.GetString("CacheDirectory", m_DefaultCacheDirectory); | 162 | m_CacheDirectory = assetConfig.GetString("CacheDirectory", Path.Combine(Util.cacheDir(), m_DefaultCacheDirectory)); |
163 | 163 | ||
164 | m_MemoryCacheEnabled = assetConfig.GetBoolean("MemoryCacheEnabled", m_MemoryCacheEnabled); | 164 | m_MemoryCacheEnabled = assetConfig.GetBoolean("MemoryCacheEnabled", m_MemoryCacheEnabled); |
165 | m_MemoryExpiration = assetConfig.GetDouble("MemoryCacheTimeout", m_MemoryExpiration); | 165 | m_MemoryExpiration = assetConfig.GetDouble("MemoryCacheTimeout", m_MemoryExpiration); |
diff --git a/OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/Meshmerizer.cs b/OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/Meshmerizer.cs index 0d4b6b9..a90ef3b 100644 --- a/OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/Meshmerizer.cs +++ b/OpenSim/Region/PhysicsModules/Meshing/Meshmerizer/Meshmerizer.cs | |||
@@ -99,7 +99,7 @@ namespace OpenSim.Region.PhysicsModule.Meshing | |||
99 | 99 | ||
100 | IConfig mesh_config = source.Configs["Mesh"]; | 100 | IConfig mesh_config = source.Configs["Mesh"]; |
101 | 101 | ||
102 | decodedSculptMapPath = config.GetString("DecodedSculptMapPath", "j2kDecodeCache"); | 102 | decodedSculptMapPath = config.GetString("DecodedSculptMapPath", System.IO.Path.Combine(Util.cacheDir(), "j2kDecodeCache")); |
103 | cacheSculptMaps = config.GetBoolean("CacheSculptMaps", cacheSculptMaps); | 103 | cacheSculptMaps = config.GetBoolean("CacheSculptMaps", cacheSculptMaps); |
104 | if (mesh_config != null) | 104 | if (mesh_config != null) |
105 | { | 105 | { |
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs index 032d4ed..c34c9fa 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs | |||
@@ -63,7 +63,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
63 | 63 | ||
64 | public bool doMeshFileCache = true; | 64 | public bool doMeshFileCache = true; |
65 | public bool doCacheExpire = true; | 65 | public bool doCacheExpire = true; |
66 | public string cachePath = "MeshCache"; | 66 | public string cachePath = System.IO.Path.Combine(Util.cacheDir(), "MeshCache"); |
67 | public TimeSpan CacheExpire; | 67 | public TimeSpan CacheExpire; |
68 | 68 | ||
69 | // const string baseDir = "rawFiles"; | 69 | // const string baseDir = "rawFiles"; |
diff --git a/OpenSim/Region/ScriptEngine/Shared/AssemblyResolver.cs b/OpenSim/Region/ScriptEngine/Shared/AssemblyResolver.cs index e35f79f..6c42e2e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/AssemblyResolver.cs +++ b/OpenSim/Region/ScriptEngine/Shared/AssemblyResolver.cs | |||
@@ -44,7 +44,7 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
44 | string dirName = myDomain.FriendlyName; | 44 | string dirName = myDomain.FriendlyName; |
45 | string ScriptEnginesPath = myDomain.SetupInformation.PrivateBinPath; | 45 | string ScriptEnginesPath = myDomain.SetupInformation.PrivateBinPath; |
46 | 46 | ||
47 | string[] pathList = new string[] {"", "bin", ScriptEnginesPath, | 47 | string[] pathList = new string[] {"", "caches", ScriptEnginesPath, |
48 | Path.Combine(ScriptEnginesPath, dirName)}; | 48 | Path.Combine(ScriptEnginesPath, dirName)}; |
49 | 49 | ||
50 | string assemblyName = args.Name; | 50 | string assemblyName = args.Name; |
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 05124fc..da5b77a 100755..100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -315,7 +315,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
315 | m_WaitForEventCompletionOnScriptStop | 315 | m_WaitForEventCompletionOnScriptStop |
316 | = m_ScriptConfig.GetInt("WaitForEventCompletionOnScriptStop", m_WaitForEventCompletionOnScriptStop); | 316 | = m_ScriptConfig.GetInt("WaitForEventCompletionOnScriptStop", m_WaitForEventCompletionOnScriptStop); |
317 | 317 | ||
318 | m_ScriptEnginesPath = m_ScriptConfig.GetString("ScriptEnginesPath", "ScriptEngines"); | 318 | m_ScriptEnginesPath = m_ScriptConfig.GetString("ScriptEnginesPath", Path.Combine(Util.cacheDir(), "ScriptEngines")); |
319 | 319 | ||
320 | m_Prio = ThreadPriority.BelowNormal; | 320 | m_Prio = ThreadPriority.BelowNormal; |
321 | switch (priority) | 321 | switch (priority) |
@@ -1874,7 +1874,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1874 | if (!(sender is System.AppDomain)) | 1874 | if (!(sender is System.AppDomain)) |
1875 | return null; | 1875 | return null; |
1876 | 1876 | ||
1877 | string[] pathList = new string[] {"bin", m_ScriptEnginesPath, | 1877 | string[] pathList = new string[] {"caches", m_ScriptEnginesPath, |
1878 | Path.Combine(m_ScriptEnginesPath, | 1878 | Path.Combine(m_ScriptEnginesPath, |
1879 | m_Scene.RegionInfo.RegionID.ToString())}; | 1879 | m_Scene.RegionInfo.RegionID.ToString())}; |
1880 | 1880 | ||
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs index 176e876..1484ee0 100644 --- a/OpenSim/Server/Base/ServicesServerBase.cs +++ b/OpenSim/Server/Base/ServicesServerBase.cs | |||
@@ -85,7 +85,7 @@ namespace OpenSim.Server.Base | |||
85 | string fileName = ""; | 85 | string fileName = ""; |
86 | if (Assembly.GetEntryAssembly() != null) | 86 | if (Assembly.GetEntryAssembly() != null) |
87 | fileName = Path.GetFileNameWithoutExtension(Assembly.GetEntryAssembly().Location); | 87 | fileName = Path.GetFileNameWithoutExtension(Assembly.GetEntryAssembly().Location); |
88 | string iniFile = fileName + ".ini"; | 88 | string iniFile = Util.configDir() + fileName + ".ini"; |
89 | string logConfig = null; | 89 | string logConfig = null; |
90 | 90 | ||
91 | IConfig startupConfig = argvConfig.Configs["Startup"]; | 91 | IConfig startupConfig = argvConfig.Configs["Startup"]; |
diff --git a/OpenSim/Server/Handlers/BakedTextures/XBakes.cs b/OpenSim/Server/Handlers/BakedTextures/XBakes.cs index 4e55433..0c74564 100644 --- a/OpenSim/Server/Handlers/BakedTextures/XBakes.cs +++ b/OpenSim/Server/Handlers/BakedTextures/XBakes.cs | |||
@@ -67,12 +67,7 @@ namespace OpenSim.Server.Handlers.BakedTextures | |||
67 | throw new Exception("No BakedTextureService configuration"); | 67 | throw new Exception("No BakedTextureService configuration"); |
68 | } | 68 | } |
69 | 69 | ||
70 | m_FSBase = assetConfig.GetString("BaseDirectory", String.Empty); | 70 | m_FSBase = assetConfig.GetString("BaseDirectory", Util.cacheDir() + "/bakes"); |
71 | if (m_FSBase == String.Empty) | ||
72 | { | ||
73 | m_log.ErrorFormat("[BAKES]: BaseDirectory not specified"); | ||
74 | throw new Exception("Configuration error"); | ||
75 | } | ||
76 | 71 | ||
77 | m_log.Info("[BAKES]: XBakes service enabled"); | 72 | m_log.Info("[BAKES]: XBakes service enabled"); |
78 | } | 73 | } |
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index dabfd3b..67114ef 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -122,7 +122,8 @@ namespace OpenSim.Services.GridService | |||
122 | 122 | ||
123 | // m_Check4096 = gridConfig.GetBoolean("Check4096", true); | 123 | // m_Check4096 = gridConfig.GetBoolean("Check4096", true); |
124 | 124 | ||
125 | m_MapTileDirectory = gridConfig.GetString("MapTileDirectory", "maptiles"); | 125 | //// TODO OpenSim is crazy, this is called from Robust and OpenSim, Robust needs the ../caches bit, OpenSim somehow adds a path already. I can't tell why. So strip the path. |
126 | m_MapTileDirectory = Path.Combine(Util.cacheDir(), Path.GetFileName(gridConfig.GetString("MapTileDirectory", "maptiles"))); | ||
126 | 127 | ||
127 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", | 128 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", |
128 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); | 129 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); |
diff --git a/OpenSim/Services/MapImageService/MapImageService.cs b/OpenSim/Services/MapImageService/MapImageService.cs index c90f5bd..e9db41d 100644 --- a/OpenSim/Services/MapImageService/MapImageService.cs +++ b/OpenSim/Services/MapImageService/MapImageService.cs | |||
@@ -63,7 +63,7 @@ namespace OpenSim.Services.MapImageService | |||
63 | private const int HALF_WIDTH = 128; | 63 | private const int HALF_WIDTH = 128; |
64 | private const int JPEG_QUALITY = 80; | 64 | private const int JPEG_QUALITY = 80; |
65 | 65 | ||
66 | private static string m_TilesStoragePath = "maptiles"; | 66 | private static string m_TilesStoragePath = Path.Combine(Util.cacheDir(), "/maptiles"); |
67 | 67 | ||
68 | private static object m_Sync = new object(); | 68 | private static object m_Sync = new object(); |
69 | private static bool m_Initialized = false; | 69 | private static bool m_Initialized = false; |
diff --git a/OpenSim/Tests/Robust/Server/DemonServer.cs b/OpenSim/Tests/Robust/Server/DemonServer.cs index 1e0797e..41c2185 100644 --- a/OpenSim/Tests/Robust/Server/DemonServer.cs +++ b/OpenSim/Tests/Robust/Server/DemonServer.cs | |||
@@ -48,8 +48,8 @@ namespace Robust.Tests | |||
48 | [SetUp] | 48 | [SetUp] |
49 | public void StartDemon() | 49 | public void StartDemon() |
50 | { | 50 | { |
51 | if (File.Exists("Robust.Tests.log")) | 51 | if (File.Exists("../../logs/Robust.Tests.log")) |
52 | File.Delete("Robust.Tests.log"); | 52 | File.Delete("../../logs/Robust.Tests.log"); |
53 | 53 | ||
54 | Console.WriteLine("**** Starting demon Robust server ****"); | 54 | Console.WriteLine("**** Starting demon Robust server ****"); |
55 | m_demon = new Thread( () => Main(new string[] {"-inifile=Robust.Tests.ini"})); | 55 | m_demon = new Thread( () => Main(new string[] {"-inifile=Robust.Tests.ini"})); |
diff --git a/bin/OpenSim.ConsoleClient.exe.config b/bin/OpenSim.ConsoleClient.exe.config index 3a50408..6542517 100644 --- a/bin/OpenSim.ConsoleClient.exe.config +++ b/bin/OpenSim.ConsoleClient.exe.config | |||
@@ -18,7 +18,7 @@ | |||
18 | </appender> | 18 | </appender> |
19 | 19 | ||
20 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | 20 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> |
21 | <file value="OpenSim.ConsoleClient.log" /> | 21 | <file value="../../logs/OpenSim.ConsoleClient.log" /> |
22 | <appendToFile value="true" /> | 22 | <appendToFile value="true" /> |
23 | <layout type="log4net.Layout.PatternLayout"> | 23 | <layout type="log4net.Layout.PatternLayout"> |
24 | <conversionPattern value="%date %-5level - %logger %message%newline" /> | 24 | <conversionPattern value="%date %-5level - %logger %message%newline" /> |
diff --git a/bin/OpenSim.exe.config b/bin/OpenSim.exe.config index 5be6989..690f808 100755..100644 --- a/bin/OpenSim.exe.config +++ b/bin/OpenSim.exe.config | |||
@@ -24,7 +24,8 @@ | |||
24 | 24 | ||
25 | <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender: | 25 | <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender: |
26 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> | 26 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> |
27 | <file value="log/OpenSim.log" /> | 27 | <threshold value="DEBUG" /> |
28 | <file value="../../logs/OpenSim.log" /> | ||
28 | <rollingStyle value="Date" /> | 29 | <rollingStyle value="Date" /> |
29 | <datePattern value="'.'yyyy-MM-dd"/> | 30 | <datePattern value="'.'yyyy-MM-dd"/> |
30 | ... | 31 | ... |
@@ -44,7 +45,7 @@ | |||
44 | </appender> | 45 | </appender> |
45 | 46 | ||
46 | <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> | 47 | <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> |
47 | <file value="OpenSimStats.log"/> | 48 | <file value="../../logs/OpenSimStats.log"/> |
48 | <appendToFile value="true" /> | 49 | <appendToFile value="true" /> |
49 | <layout type="log4net.Layout.PatternLayout"> | 50 | <layout type="log4net.Layout.PatternLayout"> |
50 | <conversionPattern value="%date - %message%newline" /> | 51 | <conversionPattern value="%date - %message%newline" /> |
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index c610b3f..fbf2c8b 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -933,7 +933,7 @@ | |||
933 | ;; co-op will be more stable but this option is currently experimental. | 933 | ;; co-op will be more stable but this option is currently experimental. |
934 | ;; If moving from co-op to abort, existing script DLLs will need to be recompiled. | 934 | ;; If moving from co-op to abort, existing script DLLs will need to be recompiled. |
935 | ;; This currently can only be done manually, either by setting DeleteScriptsOnStartup = true for one run | 935 | ;; This currently can only be done manually, either by setting DeleteScriptsOnStartup = true for one run |
936 | ;; or by deleting the script DLL* files in bin/ScriptEngines/<region-id>/ | 936 | ;; or by deleting the script DLL* files in ../../caches/ScriptEngines/<region-id>/ |
937 | ;; One can move from co-op back to abort without recompilation, but reverting back to co-op again will need script recompile | 937 | ;; One can move from co-op back to abort without recompilation, but reverting back to co-op again will need script recompile |
938 | ;; Current valid values are "abort" and "co-op" | 938 | ;; Current valid values are "abort" and "co-op" |
939 | ; ScriptStopStrategy = co-op | 939 | ; ScriptStopStrategy = co-op |
@@ -994,7 +994,7 @@ | |||
994 | 994 | ||
995 | ;# {ScriptEnginesPath} {} {Path to script assemblies} {} ScriptEngines | 995 | ;# {ScriptEnginesPath} {} {Path to script assemblies} {} ScriptEngines |
996 | ;; Path to script engine assemblies | 996 | ;; Path to script engine assemblies |
997 | ;; Default is ./bin/ScriptEngines | 997 | ;; Default is ../../caches/ScriptEngines |
998 | ; ScriptEnginesPath = "ScriptEngines" | 998 | ; ScriptEnginesPath = "ScriptEngines" |
999 | 999 | ||
1000 | [OSSL] | 1000 | [OSSL] |
diff --git a/bin/Robust.Tests.dll.config b/bin/Robust.Tests.dll.config index a4c43e7..cc0bead 100644 --- a/bin/Robust.Tests.dll.config +++ b/bin/Robust.Tests.dll.config | |||
@@ -22,7 +22,7 @@ | |||
22 | </appender> | 22 | </appender> |
23 | 23 | ||
24 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> | 24 | <appender name="LogFileAppender" type="log4net.Appender.FileAppender"> |
25 | <file value="Robust.Tests.log" /> | 25 | <file value="../../logs/Robust.Tests.log" /> |
26 | <appendToFile value="true" /> | 26 | <appendToFile value="true" /> |
27 | <filter type="log4net.Filter.LoggerMatchFilter"> | 27 | <filter type="log4net.Filter.LoggerMatchFilter"> |
28 | <loggerToMatch value="special"/> | 28 | <loggerToMatch value="special"/> |
diff --git a/bin/Robust.exe.config b/bin/Robust.exe.config index 3ad5f31..03c8f4e 100644 --- a/bin/Robust.exe.config +++ b/bin/Robust.exe.config | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender: | 23 | <!-- If you want automatic log-rolling then use RollingFileAppender instead of FileAppender: |
24 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> | 24 | <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"> |
25 | <file value="log/Robust.log" /> | 25 | <file value="../../logs/Robust.log" /> |
26 | <rollingStyle value="Date" /> | 26 | <rollingStyle value="Date" /> |
27 | <datePattern value="'.'yyyy-MM-dd"/> | 27 | <datePattern value="'.'yyyy-MM-dd"/> |
28 | ... | 28 | ... |
@@ -41,7 +41,7 @@ | |||
41 | </appender> | 41 | </appender> |
42 | 42 | ||
43 | <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> | 43 | <appender name="StatsLogFileAppender" type="log4net.Appender.FileAppender"> |
44 | <file value="RobustStats.log"/> | 44 | <file value="../../logs/RobustStats.log"/> |
45 | <appendToFile value="true" /> | 45 | <appendToFile value="true" /> |
46 | <layout type="log4net.Layout.PatternLayout"> | 46 | <layout type="log4net.Layout.PatternLayout"> |
47 | <conversionPattern value="%date - %message%newline" /> | 47 | <conversionPattern value="%date - %message%newline" /> |
diff --git a/bin/addin-db-001 b/bin/addin-db-001 index dbc4433..95ce512 120000 --- a/bin/addin-db-001 +++ b/bin/addin-db-001 | |||
@@ -1 +1 @@ | |||
../caches/addin-db-001 \ No newline at end of file | ../../caches/addin-db-001 \ No newline at end of file | ||
diff --git a/bin/addin-db-002 b/bin/addin-db-002 index 3c0d6dc..fbf0070 120000 --- a/bin/addin-db-002 +++ b/bin/addin-db-002 | |||
@@ -1 +1 @@ | |||
../caches/addin-db-002 \ No newline at end of file | ../../caches/addin-db-002 \ No newline at end of file | ||
diff --git a/bin/addin-db-003 b/bin/addin-db-003 index 0716d8b..182e326 120000 --- a/bin/addin-db-003 +++ b/bin/addin-db-003 | |||
@@ -1 +1 @@ | |||
../caches/addin-db-003 \ No newline at end of file | ../../caches/addin-db-003 \ No newline at end of file | ||
diff --git a/bin/addin-db-004 b/bin/addin-db-004 index 17214ff..3d818ca 120000 --- a/bin/addin-db-004 +++ b/bin/addin-db-004 | |||
@@ -1 +1 @@ | |||
../caches/addin-db-004 \ No newline at end of file | ../../caches/addin-db-004 \ No newline at end of file | ||