diff options
author | onefang | 2020-09-08 21:17:45 +1000 |
---|---|---|
committer | onefang | 2020-09-08 21:17:45 +1000 |
commit | dcfd54b7608093d509cd045a152a4cde7317f66f (patch) | |
tree | 593eb822c05a6d209707593732e7e0fac4984663 /OpenSim/Framework/Console/LocalConsole.cs | |
parent | Various database fixups. (diff) | |
download | opensim-SC-dcfd54b7608093d509cd045a152a4cde7317f66f.zip opensim-SC-dcfd54b7608093d509cd045a152a4cde7317f66f.tar.gz opensim-SC-dcfd54b7608093d509cd045a152a4cde7317f66f.tar.bz2 opensim-SC-dcfd54b7608093d509cd045a152a4cde7317f66f.tar.xz |
Move various paths out of the bin directory.
Diffstat (limited to 'OpenSim/Framework/Console/LocalConsole.cs')
-rwxr-xr-x | OpenSim/Framework/Console/LocalConsole.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Console/LocalConsole.cs b/OpenSim/Framework/Console/LocalConsole.cs index e1492b8..f84d21c 100755 --- a/OpenSim/Framework/Console/LocalConsole.cs +++ b/OpenSim/Framework/Console/LocalConsole.cs | |||
@@ -96,9 +96,9 @@ namespace OpenSim.Framework.Console | |||
96 | return; | 96 | return; |
97 | } | 97 | } |
98 | 98 | ||
99 | string m_historyFile = startupConfig.GetString("ConsoleHistoryFile", "OpenSimConsoleHistory.txt"); | 99 | string m_historyFile = startupConfig.GetString("ConsoleHistoryFile", Path.Combine(Util.logsDir(), "OpenSimConsoleHistory.txt")); |
100 | int m_historySize = startupConfig.GetInt("ConsoleHistoryFileLines", 100); | 100 | int m_historySize = startupConfig.GetInt("ConsoleHistoryFileLines", 100); |
101 | m_historyPath = Path.GetFullPath(Path.Combine(Util.configDir(), m_historyFile)); | 101 | m_historyPath = Path.GetFullPath(m_historyFile); |
102 | m_historytimestamps = startupConfig.GetBoolean("ConsoleHistoryTimeStamp", false); | 102 | m_historytimestamps = startupConfig.GetBoolean("ConsoleHistoryTimeStamp", false); |
103 | m_log.InfoFormat("[LOCAL CONSOLE]: Persistent command line history is Enabled, up to {0} lines from file {1} {2} timestamps", | 103 | m_log.InfoFormat("[LOCAL CONSOLE]: Persistent command line history is Enabled, up to {0} lines from file {1} {2} timestamps", |
104 | m_historySize, m_historyPath, m_historytimestamps?"with":"without"); | 104 | m_historySize, m_historyPath, m_historytimestamps?"with":"without"); |