diff options
author | Oren Hurvitz | 2013-11-28 23:07:14 +0200 |
---|---|---|
committer | Oren Hurvitz | 2014-03-25 09:36:53 +0100 |
commit | f901a3820497e0d99accb6f5f60f6517e07c2c8f (patch) | |
tree | ced16f5b06d11e2ff109716c0682d27c8d3ed753 /BUILDING.md | |
parent | Fixed unit tests due to changes in the threadpool (diff) | |
download | opensim-SC_OLD-f901a3820497e0d99accb6f5f60f6517e07c2c8f.zip opensim-SC_OLD-f901a3820497e0d99accb6f5f60f6517e07c2c8f.tar.gz opensim-SC_OLD-f901a3820497e0d99accb6f5f60f6517e07c2c8f.tar.bz2 opensim-SC_OLD-f901a3820497e0d99accb6f5f60f6517e07c2c8f.tar.xz |
Improved logging of HTTP requests
- MemoryBuffer isn't seekable, so we can't log it. Log the string instead.
- Handle compressed streams
- Don't attempt to dump binary data. Either don't log it at all (if we know it's binary), or at least convert non-ASCII characters to ASCII.
- Log responses to HTTP requests
- Use the same log prefix for all of these log messages ("[LOGHTTP]"), to make them easy to see at a glance
- Increased the snippet length to 200 (80 doesn't show enough), and add "..." only if the message was actually truncated
Resolves http://opensimulator.org/mantis/view.php?id=6949
Diffstat (limited to 'BUILDING.md')
0 files changed, 0 insertions, 0 deletions