jesseduffield / jesseduffield/lazydocker

Loading large logs of a service takes forever

Open
#433 3 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
52.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When selecting a Service to view a large log, loading of the log takes a very very long time. It sometimes takes several minutes to show anything.

In contrast, doing `docker logs -t --tail 1500 mycontainer 2>&1` for the container of the service, takes about 1 second to print out all 1500 lines.

**To Reproduce**
Steps to reproduce the behavior:
1. Run a service that emits a million lines to the log
2. Select the service
3. Wait
4. Growl, go to github.com/jesseduffield/lazydocker and file an issue

**Expected behaviour**
Logs should load immidiately

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.