Sha256: 657c6dc925a270daca835850819e436d78903472d72962192116e121139c0e7d
Contents?: true
Size: 436 Bytes
Versions: 22
Compression:
Stored size: 436 Bytes
Contents
module ORS::Commands class Logs < Base def execute all_logs = app_servers.map do |server| [ server, execute_command(server, %(cd #{deploy_directory}), %(tail -n #{log_lines} log/#{environment}.log), :capture => true) ] end puts ORS::LogUnifier.new(all_logs).unify unless pretending end end end
Version data entries
22 entries across 22 versions & 1 rubygems