aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console/LocalConsole.cs
diff options
context:
space:
mode:
authoronefang2019-05-19 22:15:41 +1000
committeronefang2019-05-19 22:15:41 +1000
commit295e91b8f44a356ab742dedd27c1b7edfe7b1157 (patch)
treede336b1b137c27f94bd4e0a2fb63bea9b1de60e2 /OpenSim/Framework/Console/LocalConsole.cs
parentMove db directory out of tree. (diff)
downloadopensim-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 'OpenSim/Framework/Console/LocalConsole.cs')
-rw-r--r--OpenSim/Framework/Console/LocalConsole.cs4
1 files changed, 2 insertions, 2 deletions
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))