mattbrictson/airbrussh

"Last 20 lines" of log file should not be truncated to console width

mattbrictson opened this issue · 0 comments

If something goes wrong during a Capistrano deployment, Airbrussh prints a message like this:

** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:

[[snip]]

However, Airbrussh honors the :truncate setting when printing these last 20 lines. In other words, by default these lines will be cut off with an character based on the console width. This severely limits the troubleshooting utility of this output.

I consider this a bug. Airbrussh should never truncate the output when displaying the tail of the log file.