summary refs log tree commit diff
path: root/synapse/util/logcontext.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+1
* Update license headersPatrick Cloke2023-11-211-10/+16
* Improve the backwards compatibility re-exports of synapse.logging.context (#5...Amber Brown2019-07-051-0/+39
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-693/+0
* Fix 'utime went backwards' errors on daemonization. (#5609)Richard van der Hoff2019-07-031-4/+13
* Fix media repo breaking (#5593)Amber Brown2019-07-021-2/+7
* Avoid raising exceptions in metricsRichard van der Hoff2019-06-241-8/+14
* Merge branch 'develop' into rav/cleanup_metricsRichard van der Hoff2019-06-241-40/+43
|\
| * Run Black. (#5482)Amber Brown2019-06-201-40/+43
* | Sanity-checking for metrics updatesRichard van der Hoff2019-06-191-7/+33
|/
* Improve logging for logcontext leaks. (#5288)Richard van der Hoff2019-05-291-9/+13
* Implement workaround for login error.Robert Jacob2019-01-301-1/+4
* Correctly account for cpu usage by background threads (#4074)Richard van der Hoff2018-10-231-51/+69
* Include eventid in log lines when processing incoming federation transactions...Richard van der Hoff2018-09-271-4/+37
* Fix exceptions when a connection is closed before we read the headersRichard van der Hoff2018-08-201-1/+3
* Robustness fix for logcontext filterRichard van der Hoff2018-08-201-1/+7
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
* Don't spew errors because we can't save metrics (#3563)Amber Brown2018-07-191-0/+11
* Attempt to include db threads in cpu usage stats (#3496)Richard van der Hoff2018-07-101-2/+21
* Refactor logcontext resource usage tracking (#3501)Richard van der Hoff2018-07-101-33/+111
* run isortAmber Brown2018-07-091-3/+3
* Indirect evt_count updates via method callRichard van der Hoff2018-06-221-0/+11
* Log number of events fetched from DBRichard van der Hoff2018-06-211-0/+4
* update to more consistently use seconds in any metrics or loggingAmber Brown2018-05-281-12/+12
* CommentErik Johnston2018-05-221-1/+1
* Fix logcontext resource usage trackingErik Johnston2018-05-221-11/+27
* Merge remote-tracking branch 'origin/develop' into rav/warn_on_logcontext_failRichard van der Hoff2018-05-031-25/+53
|\
| * Fix a class of logcontext leaksRichard van der Hoff2018-05-021-22/+38
| * Merge pull request #3144 from matrix-org/rav/run_in_background_exception_hand...Richard van der Hoff2018-04-301-1/+7
| |\
| | * Trap exceptions thrown within run_in_backgroundRichard van der Hoff2018-04-271-1/+7
| * | Merge remote-tracking branch 'origin/develop' into rav/use_run_in_backgroundRichard van der Hoff2018-04-271-1/+6
| |\ \
| | * | Improve exception handling for background processesRichard van der Hoff2018-04-271-1/+6
| | |/
| * / Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-271-1/+1
| |/
| * add __bool__ alias to __nonzero__ methodsAdrian Tschira2018-04-151-0/+1
* | Make 'unexpected logging context' into warningsRichard van der Hoff2018-03-151-2/+2
|/
* Factor run_in_background out from preserve_fnRichard van der Hoff2018-03-081-24/+29
* Rewrite make_deferred_yieldable avoiding inlineCallbacksRichard van der Hoff2018-03-011-9/+11
* Track DB scheduling delay per-requestRichard van der Hoff2018-01-161-1/+17
* Track db txn time in millisecsRichard van der Hoff2018-01-161-3/+6
* Optimise LoggingContext creation and copyingRichard van der Hoff2018-01-161-7/+18
* Remove __PreservingContextDeferred tooRichard van der Hoff2017-11-141-30/+0
* Remove preserve_context_over_{fn, deferred}Richard van der Hoff2017-11-141-31/+0
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* Fix fixme in preserve_fnRichard van der Hoff2017-04-031-5/+1
* Fix the logcontext handling in the cache wrappers (#2077)Richard van der Hoff2017-03-301-0/+23
* Merge pull request #2026 from matrix-org/rav/logcontext_docsRichard van der Hoff2017-03-201-0/+10
|\
| * Logcontext docsRichard van der Hoff2017-03-171-0/+10
* | Stop preserve_fn leaking context into the reactorRichard van der Hoff2017-03-181-32/+29
|/
* Implement reset_context_after_deferredRichard van der Hoff2017-03-151-0/+25
* Preserve some logcontextsErik Johnston2016-08-241-4/+11
* Clean up TransactionQueueErik Johnston2016-08-101-1/+0
* Remove commentErik Johnston2016-02-101-1/+1
* s/parent_context/previous_context/Erik Johnston2016-02-101-9/+9
* Set parent context on instansiationErik Johnston2016-02-101-2/+7
* Don't bother copying records on parent contextErik Johnston2016-02-091-8/+0
* Change logcontext warns to debugErik Johnston2016-02-091-3/+3
* Fix up logcontextsErik Johnston2016-02-081-4/+94
* Allowing tagging log contextsErik Johnston2016-02-031-1/+6
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Track the time spent in the database per request.Mark Haines2015-12-071-0/+9
* Add a setter for the current log context.Mark Haines2015-12-071-16/+24
* Add comments to explain why we are hardcoding RUSAGE_THREADMark Haines2015-12-041-0/+8
* Fix warningsMark Haines2015-12-041-2/+2
* Track the cpu used in the main thread by each logging contextMark Haines2015-12-031-6/+70
* Fix log context when sending requestsErik Johnston2015-06-191-19/+33
* Fix up leak. Add warnings.Erik Johnston2015-05-081-1/+10
* Add some docsErik Johnston2015-05-081-2/+14
* Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-081-0/+31
* Update copyright noticesMark Haines2015-01-061-0/+14
* Drop log level for incorrect logging contexts to WARN if the context is wrong...Mark Haines2014-11-251-5/+8
* Use module loggers rather than the root logger. Exceptions caused by bad clie...Mark Haines2014-11-201-1/+3
* Preserve logging context in a few more places, drop the logging context after...Mark Haines2014-11-191-0/+4
* Pep8 and a few doc stringsMark Haines2014-10-301-14/+37
* Add a request-id to each log lineMark Haines2014-10-301-0/+85