Improve clarity of drush console log output
| Project: | Drush |
| Version: | All-Versions-HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
The output of the drush log in the console isn't as clean as it could be.
By modifying the way the log time is displayed, and the order of the columns, the log messages would become much clearer.
So instead of having:
[message, time][level]We'd have:
[time][level][message]There are two benefits of that way:
(a) Seperating out [time] makes things much clearer to the eye.
(b) By putting [message] last, it will be easier to wrap long messages in a way that is still clear to read. Because the knowable length columns of [time] and [level] are leftmost.
2. It's not clear how to change the column widths of the log output. I found out it was looking at COLUMNS or a default of 80 by reading the code.
(a) Somewhere in the documentation, it could be added that you need to:
export COLUMNS(b) Perhaps, when bootstrapping drush it could automatically run "export COLUMNS"?
(c) Or upon first run, add it to .bashrc? On one of the most popular distributions - Ubuntu - COLUMNS is not set automatically.
