Always try to log the command we're running remotely

This commit is contained in:
David Heinemeier Hansson
2023-01-14 12:13:31 +01:00
parent e78da2a925
commit 4551a2b9d7

View File

@@ -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"