Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken log level badge #3234

Closed
1 task done
FrancYescO opened this issue Aug 26, 2024 · 6 comments
Closed
1 task done

broken log level badge #3234

FrancYescO opened this issue Aug 26, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@FrancYescO
Copy link

πŸ” Check for existing issues

  • Completed

How is Dozzle deployed?

Standalone Deployment

πŸ“¦ Dozzle version

8.2.1

βœ… Command used to run Dozzle

πŸ› Describe the bug / provide steps to reproduce it

This is an excerpt from official docker registry container log... seems the parser does not really like the format:
image

πŸ’» Environment

πŸ“Έ 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

@FrancYescO FrancYescO added the bug Something isn't working label Aug 26, 2024
@amir20
Copy link
Owner

amir20 commented Aug 26, 2024

Can you give me the docker run you used to run this. I don't run this container.

@FrancYescO
Copy link
Author

docker run -d -p 5000:5000 --restart always --name registry registry:2

a few request to /v2/_catalog?n=1000 should be enough to have a similar log

@amir20
Copy link
Owner

amir20 commented Aug 26, 2024

I tried running registry:2 and got access denied. Haven't had much time to look at the README file. So I'll come back to it when I have time.

@FrancYescO
Copy link
Author

hmm i just retried and i can confirm that a simple GET request to http://127.0.0.1:5000/v2/_catalog?n=1000 also issued from browser is working flawless (and gives {"repositories":[]} as response) .... maybe you have port 5000 user from something else?

@amir20
Copy link
Owner

amir20 commented Aug 27, 2024

Good guess. Port 5000 was something else. I would have never guessed that.

I see the problem. Not sure what is causing it. It's not as bad as I thought though.

@amir20
Copy link
Owner

amir20 commented Sep 20, 2024

Coming back this I think I know what is going on. I won't be able to fix it. The logic for grouping logs together with same level is if they are very close to each timer with timestamp. It does create false positives and this is one of those cases. I don't think I can do anything about it as I am just guessing the levels.

@amir20 amir20 closed this as completed Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants