diff options
author | Mic Bowman | 2013-02-06 17:32:57 -0800 |
---|---|---|
committer | Mic Bowman | 2013-02-06 17:32:57 -0800 |
commit | 274d376c82c8cfd6fa8ef5873f77567446c8b64d (patch) | |
tree | 06eb4ade64b736762ffbfbd1364fb4942bfbe1e4 /OpenSim/Region/UserStatistics/WebStatsModule.cs | |
parent | Enables script access to the per object dynamic attributes through the JsonStore (diff) | |
parent | Merge branch 'master' of git://opensimulator.org/git/opensim (diff) | |
download | opensim-SC-274d376c82c8cfd6fa8ef5873f77567446c8b64d.zip opensim-SC-274d376c82c8cfd6fa8ef5873f77567446c8b64d.tar.gz opensim-SC-274d376c82c8cfd6fa8ef5873f77567446c8b64d.tar.bz2 opensim-SC-274d376c82c8cfd6fa8ef5873f77567446c8b64d.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/UserStatistics/WebStatsModule.cs')
-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; |