Open mdesantis opened 8 years ago
Capistrano is not really designed to handle per-task logging options.
However, you could hack something together inside your task like this:
task :runner do
original_truncate = Airbrussh.configuration.truncate
Airbrussh.configuration.truncate = false
begin
# ...
ensure
Airbrussh.configuration.truncate = original_truncate
end
end
I have a Capistrano task for
rails runner
remote execution:In this task, but only in this one, I would like to disable truncation. Is it possible to access to Airbrussh formatter within the task in order to set truncation to false?