From 4551a2b9d7efa0dc1f62ec68ae23221c95d5bd9e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 14 Jan 2023 12:13:31 +0100 Subject: [PATCH] Always try to log the command we're running remotely --- lib/mrsk/cli/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mrsk/cli/app.rb b/lib/mrsk/cli/app.rb index 509f31c1..dd37107c 100644 --- a/lib/mrsk/cli/app.rb +++ b/lib/mrsk/cli/app.rb @@ -78,7 +78,7 @@ class Mrsk::Cli::App < Mrsk::Cli::Base desc "containers", "List all the app containers currently on servers" def containers - on(MRSK.config.hosts) { |host| puts "App Host: #{host}\n" + capture(*MRSK.app.list_containers) + "\n\n" } + on(MRSK.config.hosts) { |host| puts "App Host: #{host}\n" + capture(*MRSK.app.list_containers, verbosity: Logger::INFO) + "\n\n" } end desc "logs", "Show last 100 log lines from app on servers"