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

Backport: Add read support to sys/loggers endpoints #18161

Merged

Conversation

ccapurso
Copy link
Contributor

This PR is a manual backport of #17979. This was necessary as the the logging helper package did not exist on the 1.12.x release branch.

* add logger->log-level str func

* ensure SetLogLevelByName accounts for duplicates

* add read handlers for sys/loggers endpoints

* add changelog entry

* update docs

* ignore base logger

* fix docs formatting issue

* add ReadOperation support to TestSystemBackend_Loggers

* add more robust checks to TestSystemBackend_Loggers

* add more robust checks to TestSystemBackend_LoggersByName

* check for empty name in delete handler
@ccapurso ccapurso requested a review from peteski22 November 30, 2022 14:17
@ccapurso
Copy link
Contributor Author

ccapurso commented Dec 6, 2022

I forgot that the original PR included documentation changes. I'll remove them from this and create a separate PR so that they can be merged later. This will prevent them from being deployed.

@vercel
Copy link

vercel bot commented Dec 6, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
vault ❌ Failed (Inspect) Dec 6, 2022 at 2:25PM (UTC)

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