Using LoggerAdapters or Filters to log the async task name every time is inconvenient.
Could add a %(taskname)s in the https://docs.python.org/3/library/logging.html#logrecord-attributes? just like the %(threadName)s?
Thanks.
gh-91513: Add 'asyncio' taskName to logging LogRecord attributes. (GH…
gh-91513: Tidied up a test and did minor refactoring around test file…
Adjust tests for taskName attribute added in Python 3.12
Add support up to Python 3.12 (#74)
Activity
gh-91513: Add 'asyncio' taskName to logging LogRecord attributes. (GH…
gh-91513: Tidied up a test and did minor refactoring around test file…
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Adjust tests for taskName attribute added in Python 3.12
Add support up to Python 3.12 (#74)