Switch to just last 100 log lines for now
This commit is contained in:
@@ -36,7 +36,7 @@ class Mrsk::Commands::App < Mrsk::Commands::Base
|
||||
end
|
||||
|
||||
def logs
|
||||
[ "docker ps -q #{service_filter.join(" ")} | xargs docker logs -f" ]
|
||||
[ "docker ps -q #{service_filter.join(" ")} | xargs docker logs -n 100 -t" ]
|
||||
end
|
||||
|
||||
def exec(*command, interactive: false)
|
||||
|
||||
@@ -24,7 +24,7 @@ class Mrsk::Commands::Traefik < Mrsk::Commands::Base
|
||||
end
|
||||
|
||||
def logs
|
||||
docker :logs, "traefik"
|
||||
docker :logs, "traefik", "-n", "100", "-t"
|
||||
end
|
||||
|
||||
def remove_container
|
||||
|
||||
Reference in New Issue
Block a user