-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
lightning: setting --log-file "-"
will not print any log to stdout
#29876
Labels
component/lightning
This issue is related to Lightning of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
fengou1
added
type/bug
The issue is confirmed as a bug.
severity/major
component/lightning
This issue is related to Lightning of TiDB.
labels
Nov 17, 2021
kennytm
changed the title
lightning: DBaaS import succeed, however, log is not complete show in ES/loki
lightning: setting Nov 17, 2021
--log-file "-"
will not print any log to stdout
this bug is introduced by #29291, which skips initializing logger when the log file is set to empty. tidb/br/pkg/lightning/lightning.go Lines 77 to 82 in 34bd98d
|
1 task
14 tasks
Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label. |
1 task
This was referenced Nov 22, 2021
ti-chi-bot
pushed a commit
that referenced
this issue
Feb 18, 2022
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component/lightning
This issue is related to Lightning of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
DBaaS run lightning by parameter: --log-file="-", issue can be reproduced in 5.3.0 env.
2. What did you expect to see? (Required)
After DBaaS import data done, Loki/ES shall able to show all lightning log.
3. What did you see instead (Required)
Loki/ES only show part of lightning log at very begin of lightning start.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: