amir20 / dozzle

Realtime log viewer for docker containers.
https://dozzle.dev/
MIT License
5.7k stars 287 forks source link

sometime is not possible to load old logs #3222

Closed FrancYescO closed 2 weeks ago

FrancYescO commented 3 weeks ago

🔍 Check for existing issues

How is Dozzle deployed?

Standalone Deployment

📦 Dozzle version

8.2.1

✅ Command used to run Dozzle

NR

🐛 Describe the bug / provide steps to reproduce it

if the loadmore request put a from and to timeframe with no logs you will be unable to load older logs.... you can keep try to scroll up but the request will be fired asking for logs in the same timeframe giving the same empty result

i'm sure there are some older log but i have no way to increase the timeframe to load as it will be guessed automatically

image

💻 Environment

NR

📸 If applicable, add screenshots to help explain your bug

No response

📜 If applicable, attach your Dozzle logs. You many need to enable debug mode. See https://dozzle.dev/guide/debugging.

No response

amir20 commented 3 weeks ago

This is almost like the opposite of burst. In burst, I am trimming. But perhaps, if there is no logs, I should try to find more logs?

FrancYescO commented 3 weeks ago

a little workaround is to redo another request starting from the "previous to", but the best solution maybe is to keep searching for at least a line in the past before giving an empty result

amir20 commented 2 weeks ago

This should be fixed with https://github.com/amir20/dozzle/pull/3230 but it's a little hard to test it. So I might just merge it unless you can figure out a way to easily test it @FrancYescO.

FrancYescO commented 2 weeks ago

i'm not able to easy retest it as without optimization of https://github.com/amir20/dozzle/pull/3230 pretty often i get a full freeze of the UI, i'll keep an eye on it

btw it should be easy replicable when the log flow is not regular: