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

[CELEBORN-1797] Support to adjust the logger level with RESTful API during runtime #3022

Closed
wants to merge 6 commits into from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Dec 22, 2024

What changes were proposed in this pull request?

Support to adjust the logger level during runtime without restarting the server.

Why are the changes needed?

It is useful for debug, likes hadoop daemonlog command: https://hadoop.apache.org/docs/r3.4.1/hadoop-project-dist/hadoop-common/CommandsManual.html#daemonlog

Does this PR introduce any user-facing change?

Yes, new RESTful api.

How was this patch tested?

GA.
image
image

image image

@turboFei turboFei changed the title Log level [CELEBORN-1797] Support to adjust the logger level with RESTful API for debug Dec 22, 2024
@turboFei turboFei changed the title [CELEBORN-1797] Support to adjust the logger level with RESTful API for debug [CELEBORN-1797] Support to adjust the logger level with RESTful API during runtime Dec 22, 2024
@turboFei turboFei requested review from RexXiong and FMX December 23, 2024 08:22
@RexXiong
Copy link
Contributor

LGTM, Thanks @turboFei , change log level at runtime is very useful for debugging.

Copy link
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks. Merged into main(v0.6.0).

@FMX FMX closed this in 27e34ec Dec 24, 2024
@turboFei turboFei deleted the log_level branch December 24, 2024 03:25
@FMX
Copy link
Contributor

FMX commented Dec 24, 2024

This pr will be very helpful especially since Celeborn workers can not restart frequently to change the loggers.

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.

3 participants