﻿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
27877	Management command exceptions should be logged	karyon	Johanan Oppong Amoateng	"Currently, crashes in management commands easily go unnoticed if they are called e.g. by cronjobs. We learned that the hard way :)

It would make sense if management commands would automatically log exceptions so they get processed as specified in the logging configuration just like all other crashes.

Workarounds do exist, like adding a try/except to manage.py or writing a decorator and apply it to all the management commands.

Ref #21429, which is about using logging for output in management commands."	New feature	assigned	Core (Management commands)	1.11	Normal			johannes.linke@…	Accepted	1	0	0	0	0	0
