core/homeassistant/util
J. Nick Koston 73616520c0
Use built in queue log handlers to avoid formatting logs in the event loop (#35633)
* Use built in queue log handlers to avoid formatting logs in the event loop

Logging is now formatted and written in another thread to
ensure there is minimal impact on the event loop when
a log message is processed.

This change replaces the existing AsyncHandler log handler
as python 3.7+ now offers an off the shelf solution

* add a simple test

* s/async_migrate_log_handlers_to_queue/async_activate_log_queue_handler/g
2020-05-16 09:29:58 -05:00
..
yaml Pylint cleanups (#35409) 2020-05-09 14:08:40 +03:00
__init__.py Pylint cleanups (#35409) 2020-05-09 14:08:40 +03:00
aiohttp.py Use HTTP_OK constant (#33798) 2020-04-08 11:47:38 -05:00
async_.py Disable pylint invalid name for TypeVar T (#34355) 2020-04-17 12:51:31 -07:00
color.py String formatting improvements (#33635) 2020-04-04 18:21:14 +02:00
decorator.py Lint exclusions (#28655) 2019-11-16 10:22:07 +01:00
distance.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
dt.py Pylint cleanups (#35409) 2020-05-09 14:08:40 +03:00
json.py Pylint cleanups (#35409) 2020-05-09 14:08:40 +03:00
location.py Pylint cleanups (#35409) 2020-05-09 14:08:40 +03:00
logging.py Use built in queue log handlers to avoid formatting logs in the event loop (#35633) 2020-05-16 09:29:58 -05:00
network.py Add get_url helper, deprecate base_url (#35224) 2020-05-08 02:29:47 +02:00
package.py Fix typos found by codespell (#31243) 2020-01-31 08:33:00 -08:00
pil.py Remove requirement from entity integration (#30113) 2019-12-22 10:32:42 +01:00
pressure.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
ruamel_yaml.py Improve string formatting v5 (#33697) 2020-04-05 17:48:55 +02:00
ssl.py Black 2019-07-31 12:25:30 -07:00
temperature.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
thread.py Log threading exceptions properly (#34789) 2020-04-28 14:31:35 -07:00
unit_system.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
volume.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00