jesseduffield / jesseduffield/lazydocker
Loading large logs of a service takes forever
Open
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
Assessment
This issue has not been assessed yet.