﻿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
29186	"""django.request"" logging breaks ""logging.handlers.SocketHandler"""	direx	HyunTae Hwang	"Just wondering what the status of this is.  I get occasional errors like the following in my log file.  Looks like it's this same issue.  I'm running Django 3.1.8.


{{{
--- Logging error ---
Traceback (most recent call last):
  File ""/data/project/spi-tools-dev/python-distros/Python-3.7.3-install/lib/python3.7/logging/handlers.py"", line 630, in emit
    s = self.makePickle(record)
  File ""/data/project/spi-tools-dev/python-distros/Python-3.7.3-install/lib/python3.7/logging/handlers.py"", line 602, in makePickle
    s = pickle.dumps(d, 1)
  File ""/data/project/spi-tools-dev/python-distros/Python-3.7.3-install/lib/python3.7/copyreg.py"", line 65, in _reduce_ex
    raise TypeError(""can't pickle %s objects"" % base.__name__)
TypeError: can't pickle _Input objects
Call stack:
  File ""/data/project/spi-tools-dev/www/python/venv/lib/python3.7/site-packages/django/core/handlers/wsgi.py"", line 133, in __call__
    response = self.get_response(request)
  File ""/data/project/spi-tools-dev/www/python/venv/lib/python3.7/site-packages/django/core/handlers/base.py"", line 136, in get_response
    request=request,
  File ""/data/project/spi-tools-dev/www/python/venv/lib/python3.7/site-packages/django/utils/log.py"", line 230, in log_response
    exc_info=exc_info,
}}}

"	Bug	assigned	Core (Other)	2.0	Normal				Accepted	1	0	0	1	0	0
