#21429: BaseCommand should use logging instead of custom output wrappers
-------------------------------------+-------------------------------------
Reporter: Nical | Owner: John Kang
Type: New feature | Status: assigned
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: command output | Triage Stage: Accepted
logger |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by John Kang):
Hi,
I was working through this ticket when I noticed that some of the command
outputs (migrations for example) output a status on the same line. Example
would be:
"migrating-xx.. OK"
Python loggers implicitly add new line characters at the end.
Should I leave these log outputs with newlines or is there a better way to
append command statuses on the same line?
--
Ticket URL: <https://code.djangoproject.com/ticket/21429#comment:12>
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.38eb6b684a31d5e49f12eb5ad168a4c8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.