aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r--OpenSim/Framework/Util.cs15
1 files changed, 13 insertions, 2 deletions
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()