As it happens I was looking into this yesterday because my request object
includes a couple of attributes that I would like to see listed in the
string representation of the request object.
Your LOGGING settings needs to have a fomatter entry that looks something
like:
'formatters': {
'my_f
I have written this custom formatter which inherits from logging.Formatter,
how can I configure logging settings so that I can use this for a logger. I
see the example in docs where I can update the formatter string but dont
know how to link a class to do that.
class UniqueRequestIdFormatter(lo
2 matches
Mail list logo