Erik Johnston
|
4eb8f9ca8a
Remove comment
|
8 years ago |
Erik Johnston
|
00c9ad49df
s/parent_context/previous_context/
|
8 years ago |
Erik Johnston
|
9777c5f49a
Set parent context on instansiation
|
8 years ago |
Erik Johnston
|
3e2fcd67b2
Don't bother copying records on parent context
|
8 years ago |
Erik Johnston
|
c486b7b41c
Change logcontext warns to debug
|
8 years ago |
Erik Johnston
|
2c1fbea531
Fix up logcontexts
|
8 years ago |
Erik Johnston
|
d4f72a5bfb
Allowing tagging log contexts
|
8 years ago |
Matthew Hodgson
|
6c28ac260c
copyrights
|
8 years ago |
Mark Haines
|
6a5ff5f223
Track the time spent in the database per request.
|
8 years ago |
Mark Haines
|
3dd1630848
Add a setter for the current log context.
|
8 years ago |
Mark Haines
|
5231737369
Add comments to explain why we are hardcoding RUSAGE_THREAD
|
8 years ago |
Mark Haines
|
d6059bdd2a
Fix warnings
|
8 years ago |
Mark Haines
|
48a2526d62
Track the cpu used in the main thread by each logging context
|
8 years ago |
Erik Johnston
|
653533a3da
Fix log context when sending requests
|
9 years ago |
Erik Johnston
|
2236ef6c92
Fix up leak. Add warnings.
|
9 years ago |
Erik Johnston
|
da1aa07db5
Add some docs
|
9 years ago |
Erik Johnston
|
476899295f
Change the way we do logging contexts so that they survive divergences
|
9 years ago |
Mark Haines
|
adb04b1e57
Update copyright notices
|
9 years ago |
Mark Haines
|
15099fade5
Drop log level for incorrect logging contexts to WARN if the context is wrong and DEBUG if the context is missing
|
9 years ago |
Mark Haines
|
dfdda2c871
Use module loggers rather than the root logger. Exceptions caused by bad clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str'
|
9 years ago |
Mark Haines
|
97c7c34f6f
Preserve logging context in a few more places, drop the logging context after it has been stashed to reduce potential for confusion
|
9 years ago |
Mark Haines
|
fa955cc2a4
Pep8 and a few doc strings
|
9 years ago |
Mark Haines
|
b29517bd01
Add a request-id to each log line
|
9 years ago |