Fixed #21429 -- Added builtin logging support to BaseCommand.

https://code.djangoproject.com/ticket/21429
Added a new formatter in https://github.com/berkerpeksag/django/commit/3e1c60b62d90ff9fc651804a0c7164df5795bb82

Thanks.