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

🤗 [Question]: How can i filter logs by regexp? #2683

Closed
3 tasks done
mv-yurchenko opened this issue Oct 19, 2023 · 4 comments
Closed
3 tasks done

🤗 [Question]: How can i filter logs by regexp? #2683

mv-yurchenko opened this issue Oct 19, 2023 · 4 comments

Comments

@mv-yurchenko
Copy link

Question Description

I have service in k8s cluster and k8s checks

After each check I got a log message

How can I disable printing log for healtcheck route

Code Snippet (optional)

No response

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my questions prior to opening this one.
  • I understand that improperly formatted questions may be closed without explanation.
@welcome
Copy link

welcome bot commented Oct 19, 2023

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

@ReneWerner87
Copy link
Member

@mv-yurchenko there is a NEXT method in the configuration which is for skipping unwanted paths
https://docs.gofiber.io/api/middleware/logger#config

@ReneWerner87
Copy link
Member

@mv-yurchenko do you have other questions? can i close the issue report?

@ReneWerner87
Copy link
Member

if you have any questions, just reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants