diff options
author | Justin Clark-Casey (justincc) | 2013-02-07 02:19:53 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-02-07 02:19:53 +0000 |
commit | 2c5d24d39473d3552ece36c97243ae070d10d26b (patch) | |
tree | d9d46e26e888b806ad7a1c7d6fb09bff637c13d1 /OpenSim/Region/UserStatistics | |
parent | Add TestJsonWriteReadNotecard() regression test (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-2c5d24d39473d3552ece36c97243ae070d10d26b.zip opensim-SC_OLD-2c5d24d39473d3552ece36c97243ae070d10d26b.tar.gz opensim-SC_OLD-2c5d24d39473d3552ece36c97243ae070d10d26b.tar.bz2 opensim-SC_OLD-2c5d24d39473d3552ece36c97243ae070d10d26b.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/UserStatistics')
-rw-r--r-- | OpenSim/Region/UserStatistics/WebStatsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs index 438ef48..b98b762 100644 --- a/OpenSim/Region/UserStatistics/WebStatsModule.cs +++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs | |||
@@ -420,7 +420,7 @@ namespace OpenSim.Region.UserStatistics | |||
420 | Encoding encoding = Encoding.ASCII; | 420 | Encoding encoding = Encoding.ASCII; |
421 | int sizeOfChar = encoding.GetByteCount("\n"); | 421 | int sizeOfChar = encoding.GetByteCount("\n"); |
422 | byte[] buffer = encoding.GetBytes("\n"); | 422 | byte[] buffer = encoding.GetBytes("\n"); |
423 | string logfile = Util.logDir() + "/" + "OpenSim.log"; | 423 | string logfile = Util.logFile(); |
424 | FileStream fs = new FileStream(logfile, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); | 424 | FileStream fs = new FileStream(logfile, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); |
425 | Int64 tokenCount = 0; | 425 | Int64 tokenCount = 0; |
426 | Int64 endPosition = fs.Length / sizeOfChar; | 426 | Int64 endPosition = fs.Length / sizeOfChar; |