Skip to content

Remove NYT::CreateStdErrLogger method from query_replay_yt #18445

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hdnpth
Copy link
Collaborator

@hdnpth hdnpth commented May 17, 2025

Changelog entry

Remove NYT::CreateStdErrLogger since NYT::Initialize already sets up the logger.

Changelog category

  • Not for changelog (changelog entry is not required)

Description for reviewers

This PR refactors the existing logging setup by removing the use of CreateStdErrLogger, which will soon be obsolete. NYT::Initializeis already handling logger setup directly, making CreateStdErrLogger redundant.

You probably have to set desired LogLevel config option before calling NYT::Initialize, if it is differs from the default (error) log level.
This change is also in alignment with the wider refactoring of the logging system within yt/cpp. Please refer to ytsaurus/ytsaurus@8956fc5

Copy link

github-actions bot commented May 17, 2025

2025-05-17 17:55:00 UTC Pre-commit check linux-x86_64-relwithdebinfo for 56ba5c2 has started.
2025-05-17 17:55:48 UTC Artifacts will be uploaded here
2025-05-17 17:59:41 UTC ya make is running...
🟢 2025-05-17 18:01:23 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-05-17 18:01:29 UTC Build successful.

Copy link

🟢 2025-05-17 17:57:02 UTC The validation of the Pull Request description is successful.

Copy link

github-actions bot commented May 17, 2025

2025-05-17 17:57:15 UTC Pre-commit check linux-x86_64-release-asan for 56ba5c2 has started.
2025-05-17 17:57:27 UTC Artifacts will be uploaded here
2025-05-17 17:59:43 UTC ya make is running...
🟢 2025-05-17 18:01:33 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-05-17 18:01:39 UTC Build successful.

@hdnpth hdnpth requested a review from shnikd May 17, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant