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

DEBUG log entry showing up in production. #243

Open
williamohara opened this issue May 18, 2023 · 1 comment
Open

DEBUG log entry showing up in production. #243

williamohara opened this issue May 18, 2023 · 1 comment

Comments

@williamohara
Copy link

func (c *ServicePrincipalsClient) Get(ctx context.Context, id string, query odata.Query) (*ServicePrincipal, int, error) {

I am using hamilton in my project to work with msGraph, specifically to create and manage service principals and groups in azure. I am calling this function in my code to retrieve a service principal. it is producing a debug log entry that looks like this ...

2023/05/17 23:53:24 [DEBUG] POST https://login.microsoftonline.com/e2752eb2-38c3-4793-bf6c-b73751ee06ee/oauth2/v2.0/token

my logs look like this now...
image

The log entry is beautifully formatted but as you can see it is somewhat incongruent. I tried to trace through the code to see where it may happen but could not see it with my layman eyes.

@k3v3n
Copy link

k3v3n commented Jun 26, 2024

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

No branches or pull requests

2 participants