aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Console
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-11-07 12:47:38 +1000
committerDavid Walter Seikel2016-11-07 12:47:38 +1000
commite8d501d75074b3b8c3b01778afafb84c5a48291d (patch)
tree0c1db86bf1c97d6154475ed813462a45d76cb76e /OpenSim/Framework/Console
parentExcess white space removal. (diff)
downloadopensim-SC-e8d501d75074b3b8c3b01778afafb84c5a48291d.zip
opensim-SC-e8d501d75074b3b8c3b01778afafb84c5a48291d.tar.gz
opensim-SC-e8d501d75074b3b8c3b01778afafb84c5a48291d.tar.bz2
opensim-SC-e8d501d75074b3b8c3b01778afafb84c5a48291d.tar.xz
More caches directory fixes, including moving console history there.
Diffstat (limited to 'OpenSim/Framework/Console')
-rw-r--r--OpenSim/Framework/Console/LocalConsole.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs
index 28293c0..d8f8ecc 100644
--- a/OpenSim/Framework/Console/LocalConsole.cs
+++ b/OpenSim/Framework/Console/LocalConsole.cs
@@ -97,7 +97,7 @@ namespace OpenSim.Framework.Console
97 97
98 string m_historyFile = startupConfig.GetString("ConsoleHistoryFile", "OpenSimConsoleHistory.txt"); 98 string m_historyFile = startupConfig.GetString("ConsoleHistoryFile", "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(Path.Combine("../caches", 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))