#21429: BaseCommand should use logging instead of custom output wrappers
-------------------------------------+-------------------------------------
Reporter: Nical | Owner:
Type: New feature | berkerpeksag
Component: Core (Management | Status: assigned
commands) | Version: master
Severity: Normal | Resolution:
Keywords: command output | Triage Stage: Accepted
logger | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by berkerpeksag):
> Or did you intend to deprecate self.stdout/self.stderr?
Yes, but I couldn't find a simple way to deprecate them yesterday. Today,
here is my approach:
https://github.com/berkerpeksag/django/commit/b439b472842bfd2d04c36b28d079a80fac5814bb
PR updated to address Simon's comments.
--
Ticket URL: <https://code.djangoproject.com/ticket/21429#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.61b6241c7e54b301cb5065f3f6a2e2c7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.