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

Better logging in model proxy and macaroon discharger #1041

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Sep 7, 2023

Description

  • Add more logging to our macaroon discharger
    -- With Kelvin's work on implementing Juju's side of this, we found there are no logs.
  • Reduce logging on our model proxy
    -- We are logging every time we fail to read on the websocket but this happens a lot since we act as a proxy and either side of the connection close the websocket when they are done.

I also want to get rid of this log line from the Macaroon Bakery library. It prints everytime a user is authenticated and on the INFO level which is excessive. I'm thinking the line should just be changed to a DEBUG in the library code.

- Add more logging to our macaroon discharger
- Reduce logging on our model proxy
@kian99 kian99 merged commit 66f5cd0 into canonical:feature-rebac Sep 7, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants