﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35357	Logger should be able to store extra arguments	Alexander Nestorov	nobody	"I find myself quite often writing multiple `logger.whatever()` statements one after another just because I want to log multiple values. 

{{{
logger.error(""Foo failed. The bar object looked like"")
logger.error(bar_object) # bar_object is a deep json-like object
logger.error(f""Retrying with {xyz} thing"")
}}}

It would be nice if Django provided a way to log all values passed to `extra`, like this:

{{{
logger.error(""Foo failed. The bar object looked like this. Retrying with {xyz} thing"", extra={
    ""bar_object"": bar_object
})
}}}

I'm aware that I can create a custom logger inheriting from logging.Handler (or the several other ways this can be achieved), but IMHO this is such a basic features that it should be included in Django itself."	New feature	new	Uncategorized		Normal		logging, logger, extra	Alexander Nestorov	Unreviewed	0	0	0	0	0	0
