From e317935ab3e13be3180885a33e9ed7245dc4aed3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 30 Jan 2023 19:19:35 +0100 Subject: [PATCH] Already getting timestamps from Rails log --- lib/mrsk/commands/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mrsk/commands/app.rb b/lib/mrsk/commands/app.rb index c491cf19..a5301e94 100644 --- a/lib/mrsk/commands/app.rb +++ b/lib/mrsk/commands/app.rb @@ -35,7 +35,7 @@ class Mrsk::Commands::App < Mrsk::Commands::Base def logs(since: nil, lines: nil, grep: nil) pipe \ current_container_id, - "xargs docker logs#{" --since #{since}" if since}#{" -n #{lines}" if lines} -t 2>&1", + "xargs docker logs#{" --since #{since}" if since}#{" -n #{lines}" if lines} 2>&1", ("grep '#{grep}'" if grep) end