-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[bugfix](k8s) using stdout to output #54129
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
TPC-H: Total hot run time: 33314 ms |
TPC-DS: Total hot run time: 163632 ms |
ClickBench: Total hot run time: 32.67 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
skip check_coverage |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
skip check_coverage |
### What problem does this PR solve? K8S using stdout to capture BE INFO logs. But when BE crash be will try to output crash stack to be.out file. In the past, it could not output to be.out file. In this feature, I format the behaviors of be log: 1. -- daemon, output log to be.info file and output crash stack to be.out file. 2. --console, 2.1 enable_file_logger = true, output all logs to console (stdout) and output all logs to be.info and crash stack to be.out 2.2 enable_file_logger = false, output all logs to console(stdout) and crash stack to be.out we will always output crash stack to logs/be.out file.
### What problem does this PR solve? K8S using stdout to capture BE INFO logs. But when BE crash be will try to output crash stack to be.out file. In the past, it could not output to be.out file. In this feature, I format the behaviors of be log: 1. -- daemon, output log to be.info file and output crash stack to be.out file. 2. --console, 2.1 enable_file_logger = true, output all logs to console (stdout) and output all logs to be.info and crash stack to be.out 2.2 enable_file_logger = false, output all logs to console(stdout) and crash stack to be.out we will always output crash stack to logs/be.out file.
What problem does this PR solve?
K8S using stdout to capture BE INFO logs. But when BE crash be will try to output crash stack to be.out file. In the past, it could not output to be.out file. In this feature, I format the behaviors of be log:
2.1 enable_file_logger = true, output all logs to console (stdout) and output all logs to be.info and crash stack to be.out
2.2 enable_file_logger = false, output all logs to console(stdout) and crash stack to be.out
we will always output crash stack to logs/be.out file.
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)