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: Only log on Error/Exception #1911

Open
OllisGit opened this issue Sep 22, 2024 · 2 comments
Open

Question: Only log on Error/Exception #1911

OllisGit opened this issue Sep 22, 2024 · 2 comments

Comments

@OllisGit
Copy link

First: Thx, for this nice toolkit.

After enabling logbook via: logging.level.org.zalando.logbook: TRACE
All incoming and outgoing requests/responses are logged,
but I want to log only error-calls.

So, 5xx response-codes (and also exception, if the json-mapping failed).

Any idea how I can realised that.

Thanks in advance
Olli

@whiskeysierra
Copy link
Collaborator

Copy link
Contributor

In order to prioritize the support for Logbook, we would like to check whether the old issues are still relevant.
This issue has not been updated for over six months.

  • Please check if it is still relevant in latest version of the Logbook.
  • If so, please add a descriptive comment to keep the issue open.
  • Otherwise, the issue will automatically be closed after a week.

@github-actions github-actions bot added the stale label Mar 24, 2025
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