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

frontend: Add azcore event logging, disabled by default #663

Closed
wants to merge 1 commit into from

Conversation

mbarnes
Copy link
Collaborator

@mbarnes mbarnes commented Sep 29, 2024

What this PR does

Debugging feature for logging azcore events.

Enable by setting AZURE_SDK_GO_LOGGING to "all" in the frontend-config ConfigMap ("all" is the only valid value at present, which logs events for all azure-sdk-for-go clients).

Jira: Added this while working on ARO-9674 - Frontend needs to run with at least two replicas
Link to demo recording:

Special notes for your reviewer

Debugging feature. Enable by setting AZURE_SDK_GO_LOGGING to 'all'
in the "frontend-config" ConfigMap.
@mbarnes
Copy link
Collaborator Author

mbarnes commented Sep 29, 2024

Closed because the AZURE_SDK_GO_LOGGING environment variable doesn't behave the way the documentation implies. Setting it to "all" enables the default log-to-stderr behavior, but calling SetListener also enables logging regardless of the environment variable, which I wasn't expecting.

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.

1 participant